diff options
author | Greg Kroah-Hartman <[email protected]> | 2021-05-03 13:57:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-05-13 18:58:32 +0200 |
commit | dacb408ca6f0e34df22b40d8dd5fae7f8e777d84 (patch) | |
tree | 7fa353f5126c0b24e288407f223fb1d007a4e591 /drivers/fpga/fpga-bridge.c | |
parent | 8e23e83c752b54e98102627a1cc09281ad71a299 (diff) |
media: gspca: properly check for errors in po1030_probe()
If m5602_write_sensor() or m5602_write_bridge() fail, do not continue to
initialize the device but return the error to the calling funtion.
Cc: Mauro Carvalho Chehab <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions