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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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��������+%������w��{.n�����{��)��^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux