[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1A63A1423E772B419A9D2E882CBCF6C4020A4939@mail>
Date: Fri, 10 Jul 2015 23:10:51 +0800
From: "Hn Chen" <hn.chen@...dahitech.com>
To: "Dmitry Torokhov" <dmitry.torokhov@...il.com>
Cc: <linux-input@...r.kernel.org>,
"lkml" <linux-kernel@...r.kernel.org>,
"Charles Mooney" <charliemooney@...gle.com>
Subject: RE: [PATCH] Input: wdt87xx_i2c - Add a prodcut_id attribute in sysfs
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@...il.com]
Sent: Friday, July 10, 2015 10:34 PM
To: Hn Chen
Cc: linux-input@...r.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.chen@...dahitech.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
Powered by blists - more mailing lists