RE: [PATCH] Input: wdt87xx_i2c - Add a prodcut_id attribute in sysfs

From: Hn Chen
Date: Fri Jul 10 2015 - 11:11:42 EST


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.torokhov@xxxxxxxxx]
Sent: Friday, July 10, 2015 10:34 PM
To: Hn Chen
Cc: linux-input@xxxxxxxxxxxxxxx; 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.chen@xxxxxxxxxxxxxxx> 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‹§²æ¸›yú²X¬¶ÇvØ–)Þ{.nlj·¥Š{±‘êX§¶›¡Ü}©ž²ÆzÚj:+v‰¨¾«‘êZ+€Êzf£¢·hšˆ§~†­†Ûÿû®w¥¢¸?™¨è&¢)ßf”ùy§m…á«a¶Úÿ 0¶ìå