aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/input-mt.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2016-05-31 18:15:04 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-06-01 11:18:59 -0700
commitcd467299c1153b780e8031e7490a8f8fa0a3f853 (patch)
tree9da00d6b6881f8403f527431f515263248485d0b /drivers/input/input-mt.c
parentInput: add Raydium I2C touchscreen driver (diff)
downloadlinux-dev-cd467299c1153b780e8031e7490a8f8fa0a3f853.tar.xz
linux-dev-cd467299c1153b780e8031e7490a8f8fa0a3f853.zip
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>
Diffstat (limited to 'drivers/input/input-mt.c')
0 files changed, 0 insertions, 0 deletions