lkml.org 
[lkml]   [2014]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] platform/chrome: chromeos_laptop - Add a limit for deferred retries
On Tue, Jul 15, 2014 at 05:43:11PM -0700, Benson Leung wrote:
> Limit the number of times we allow deferred probing to attempt to add
> i2c devices. This will help with some device flakiness at probe time.
> For example, some touchpads and touchscreens may be in transition between
> bootloader and operational mode and may appear at neither address briefly.
>
> Adapters, however, have no limit as it depends on when the i2c adapter driver
> module is loaded. The module may even be loaded manually by the user using
> modprobe or insmod.
>
> By default, set MAX_I2C_DEVICE_DEFERALS to 5.
>
> Based on this patch from the chromeos-kernel :
> https://chromium-review.googlesource.com/168130
>
> Signed-off-by: Benson Leung <bleung@chromium.org>

Applied, thanks.


-Olof


\
 
 \ /
  Last update: 2014-07-16 03:41    [W:0.030 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site