aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2023-05-13 08:04:32 +0100
committerMauro Carvalho Chehab <[email protected]>2023-05-14 16:05:28 +0100
commitb37d9c995aef9487040d07326c9e7e560cf23396 (patch)
treee7cd063d2282383173a26388b003301c5fd3966a /include/uapi/linux
parent663e7460b123271c64be7024cadef86dbb4d8463 (diff)
media: dw2102: return -EIO instead of -1 for mac address read errors
The dvb-usb core function only checks if the returned value is zero, so it doesn't actually matter the error code. Still, returning -1 as an error condition is something that we don't do upstream. So, change the logic to return -EIO in case of I2C transfer failures. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions