Home
last modified time | relevance | path

Searched hist:b37d9c995aef9487040d07326c9e7e560cf23396 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/media/usb/dvb-usb/
H A Ddw2102.cdiff b37d9c995aef9487040d07326c9e7e560cf23396 Sat May 13 09:04:32 CEST 2023 Mauro Carvalho Chehab <mchehab@kernel.org> 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 <mchehab@kernel.org>