media: em28xx-core: Fix i2c error debug
authorBrad Love <brad@nextdimension.cc>
Tue, 26 Jan 2021 01:54:15 +0000 (02:54 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 5 Feb 2021 22:39:04 +0000 (23:39 +0100)
commit1970105af093f2fbbc5578640075ca843575c934
treea0bf733d4ba467b48cf8a7ddcb268951c055513b
parent688e2dd468ace07b6c6d54f37d50ad03b5ec6cf7
media: em28xx-core: Fix i2c error debug

Read errors are currently reported as write errors.

An incorrectly received read operation is never reported at all.
Add a debug statement indicating the request mismatch.

Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/em28xx/em28xx-i2c.c