Hi, Dmitry, Can you help me to apply the following change also ? I would like to change the reset time which I mentioned the reason in the previous e-mail. Thanks !
BR, Hn.chen --- a/wdt87xx_i2c.c 2015-07-10 23:01:50.637704807 +0800 +++ b/wdt87xx_i2c.c 2015-07-10 22:51:42.313711000 +0800 @@ -157,6 +157,7 @@ /* Controller requires minimum 300us between commands */ #define WDT_COMMAND_DELAY_MS 2 #define WDT_FLASH_WRITE_DELAY_MS 4 +#define WDT_FW_RESET_TIME 2500 struct wdt87xx_sys_param { u16 fw_id; @@ -405,7 +406,7 @@ } /* Wait the device to be ready */ - msleep(200); + msleep(WDT_FW_RESET_TIME); return 0; } Hn.chen -----Original Message----- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: Friday, July 10, 2015 10:34 PM To: Hn Chen Cc: linux-in...@vger.kernel.org; lkml; Charles Mooney Subject: Re: [PATCH] Input: wdt87xx_i2c - Add a prodcut_id attribute in sysfs Hi Hn, On Fri, Jul 10, 2015 at 7:19 AM, Hn Chen <hn.c...@weidahitech.com> wrote: > Hi, Dmitry, > > Thanks for your suggestion ! > > I will just follow your suggestion and resubmit a patch! If you are OK with this version of the patch then no need to resubmit, I can apply what I have. Thanks. -- Dmitry N�����r��y����b�X��ǧv�^�){.n�+����{����zX����ܨ}���Ơz�&j:+v�������zZ+��+zf���h���~����i���z��w���?�����&�)ߢf��^jǫy�m��@A�a��� 0��h���i