diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-05-06 08:38:56 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-05-23 20:21:24 +0300 |
commit | 9c87ae1a0dbeb5794957421157fd266d38a869b4 (patch) | |
tree | 1b48461bb624ba90712a711eed52467d83863d60 /drivers/media/usb/dvb-usb-v2 | |
parent | afccc0bbab594bf70f950eea19b60737e763b192 (diff) | |
download | linux-9c87ae1a0dbeb5794957421157fd266d38a869b4.tar.xz |
media: rc: i2c: Fix an error message
'ret' is known to be 1 here. In fact 'i' is expected instead.
Store the return value of 'i2c_master_recv()' in 'ret' so that the error
message print the correct error code.
Fixes: acaa34bf06e9 ("media: rc: implement zilog transmitter")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2')
0 files changed, 0 insertions, 0 deletions