[RESEND PATCH 2/7] i2c: i2c-cros-ec-tunnel: Set retries to 3

2014-08-20 Thread Javier Martinez Canillas
From: Derek Basehore dbaseh...@chromium.org Since the i2c bus can get wedged on the EC sometimes, set the number of retries to 3. Since we un-wedge the bus immediately after the wedge happens, this is the correct fix since only one transfer will fail. Signed-off-by: Derek Basehore

Re: [PATCH 2/7] i2c: i2c-cros-ec-tunnel: Set retries to 3

2014-08-01 Thread Wolfram Sang
On Mon, Jul 28, 2014 at 02:19:22PM +0200, Javier Martinez Canillas wrote: From: Derek Basehore dbaseh...@chromium.org Since the i2c bus can get wedged on the EC sometimes, set the number of retries to 3. Since we un-wedge the bus immediately after the wedge happens, this is the correct

Re: [PATCH 2/7] i2c: i2c-cros-ec-tunnel: Set retries to 3

2014-08-01 Thread Javier Martinez Canillas
Hello Wolfram, On 08/01/2014 07:59 PM, Wolfram Sang wrote: +#define I2C_MAX_RETRIES 3 I think a define for this is overkill, yet I don't really mind. Acked-by: Wolfram Sang w...@the-dreams.de Thanks a lot. I assume this goes via MFD, let me know if I should take it. Yes, if

[PATCH 2/7] i2c: i2c-cros-ec-tunnel: Set retries to 3

2014-07-28 Thread Javier Martinez Canillas
From: Derek Basehore dbaseh...@chromium.org Since the i2c bus can get wedged on the EC sometimes, set the number of retries to 3. Since we un-wedge the bus immediately after the wedge happens, this is the correct fix since only one transfer will fail. Signed-off-by: Derek Basehore