diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-03 14:57:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-03 10:09:41 +0300 |
commit | de1fe324cc34a5f2344a2b15c3e11d08e373d856 (patch) | |
tree | a80cb68da434a0179d3456222f9e145072aad221 /block/kyber-iosched.c | |
parent | b10396b3cc1cece4839eafb46f2bbeaf2bfdbb18 (diff) | |
download | linux-de1fe324cc34a5f2344a2b15c3e11d08e373d856.tar.xz |
media: gspca: properly check for errors in po1030_probe()
[ Upstream commit dacb408ca6f0e34df22b40d8dd5fae7f8e777d84 ]
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 <mchehab+samsung@kernel.org>
Link: https://lore.kernel.org/r/20210503115736.2104747-64-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'block/kyber-iosched.c')
0 files changed, 0 insertions, 0 deletions