diff options
author | Alaa Emad <[email protected]> | 2021-05-03 13:57:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-05-13 18:32:41 +0200 |
commit | c6d822c56e7fd29e6fa1b1bb91b98f6a1e942b3c (patch) | |
tree | b1657e71b77e54ff82b525674c3dbb45ac942210 /lib/mpi/mpi-sub-ui.c | |
parent | 47e4ff06fa7f5ba4860543a2913bbd0c164640aa (diff) |
media: dvb: Add check on sp8870_readreg return
The function sp8870_readreg returns a negative value when i2c_transfer
fails so properly check for this and return the error if it happens.
Cc: Sean Young <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Alaa Emad <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions