summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2021-01-27 13:33:57 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-03-11 13:59:45 +0300
commiteea62d6d471a08fe1a18c6c4ddccfde24a005beb (patch)
tree780631ee9e9b3e34fffac2eaf8519438a4d50109 /include/linux
parentcb1318fd80c37085e63a79a1fe96fd82399d9469 (diff)
downloadlinux-eea62d6d471a08fe1a18c6c4ddccfde24a005beb.tar.xz
media: i2c: adv7511: remove open coded version of SMBus block read
The open coded version differs from the one in the core in one way: the buffer will be always copied back, even when the transfer failed. Be more robust: use the block read from the I2C core and propagate a potential errno further to the sanity checks. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions