]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i2c: tda998x: check more I/O errors
authorJean-Francois Moine <moinejf@free.fr>
Sat, 25 Jan 2014 17:14:45 +0000 (18:14 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 13 Feb 2014 19:41:36 +0000 (19:41 +0000)
commit7d2eadc9b9d4eacc6aa8cc0cb33e05b5a6d30256
tree65ad4af48a97e8ed4314ee19934a56173a98c24b
parent2f7f730a4f0fd3376dda9266203f29ceccd0a67f
drm/i2c: tda998x: check more I/O errors

This patch adds more error checking inn I2C I/O functions.
In case of I/O error, this permits to avoid writing in bad controller
pages, a bad chipset detection or looping when getting the EDID.

Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c