Home
last modified time | relevance | path

Searched hist:cd467299c1153b780e8031e7490a8f8fa0a3f853 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/input/touchscreen/
H A Draydium_i2c_ts.cdiff cd467299c1153b780e8031e7490a8f8fa0a3f853 Tue May 31 20:15:04 CDT 2016 Dmitry Torokhov <dmitry.torokhov@gmail.com> Input: raydium_i2c_ts - do not ignore EPROBE_DEFER from gpiod_get_optional

We should not be ignoring -EPROBE_DEFER reported by
devm_gpiod_get_optional(), but report it as any other error to the upper
layers. While we are at it simplify check for the presence of reset GPIO
and instead of using IS_ERR_OR_NULL just use boolean.

Also do not return -ENOMEM from suspend handler when the device in
bootloader mode as that does not make sense and switch to -EBUSY instead.

Reported-by: Guenter Roeck <groeck@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>