summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-10-20 03:28:45 +0300
committerEric Anholt <eric@anholt.net>2017-10-30 16:55:20 -0700
commit85b4587f8e94143bafb8b6a4003a5187b9a8753d (patch)
tree8cec0e6d78d8962f95e8dade9e55d474ae84620c /drivers/gpu/drm/gma500
parent33b54ea1109721dcd07d3f7ee753c07482021eed (diff)
drm/panel: rpi-touchscreen: propagate errors in rpi_touchscreen_i2c_read()
There is one caller which checks whether rpi_touchscreen_i2c_read() returns negative error codes. Currently it can't because negative error codes are truncated to u8, but that's easy to fix if we change the type to int. Fixes: 2f733d6194bd ("drm/panel: Add support for the Raspberry Pi 7" Touchscreen.") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/20171020002845.kar2wg7gqxg7tzqi@mwanda Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/gma500')
0 files changed, 0 insertions, 0 deletions