]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge/tc358775: Return before displaying inappropriate error message
authorJiri Vanek <jirivanek1@gmail.com>
Wed, 15 Jun 2022 22:22:20 +0000 (00:22 +0200)
committerRobert Foss <robert.foss@linaro.org>
Mon, 20 Jun 2022 19:34:20 +0000 (21:34 +0200)
commit24f98554f702980b9eacfab2bdfc51761108e518
tree74e83e517f5b5f48db89cdb3da6e8deccc117a4b
parent6ce82017871d8d76a6b9e45b6ae29394e94bd557
drm/bridge/tc358775: Return before displaying inappropriate error message

Function for reading from i2c device register displays error message even
if reading ends correctly. Add return to avoid falling through into
the fail label.

Signed-off-by: Jiri Vanek <jirivanek1@gmail.com>
Reviewed-by: Vinay Simha BN <simhavcs@gmail.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220615222221.1501-2-jirivanek1@gmail.com
drivers/gpu/drm/bridge/tc358775.c