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:[email protected]]
Sent: Friday, July 10, 2015 10:34 PM
To: Hn Chen
Cc: [email protected]; 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 <[email protected]> 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�+����{��zn�)����w*jg��������ݢj/���z�ޖ��2�ޙ����&�)ߡ�a�����G���h��j:+v���w��٥