Skip to content
Commit 68cfde02 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: si21xx: report eventual errors at set_frontend



If an error occurs while setting the registers at set_frontend,
it is silently ignored. Yet, the variable status is updated.

Change the logic to return an error if it fails to write values
to the registers.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent c41898e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment