[lkml]   [2018]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] HID: i2c-hid: check if device is there before really probing
On Wed, 9 May 2018, Dmitry Torokhov wrote:

> From: Dmitry Torokhov <>
> On many Chromebooks touch devices are multi-sourced; the components are
> electrically compatible and one can be freely swapped for another without
> changing the OS image or firmware.
> To avoid bunch of scary messages when device is not actually present in the
> system let's try testing basic communication with it and if there is no
> response terminate probe early with -ENXIO.
> Signed-off-by: Dmitry Torokhov <>

Applied, thanks.

Jiri Kosina

 \ /
  Last update: 2018-05-15 11:17    [W:0.069 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site