diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-11-22 15:30:55 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-11-29 15:23:14 +0300 |
commit | 68cfde02cc21045708ad1ebe604527ec18d5e01c (patch) | |
tree | 1333f8e0fad01123b3969800cf3f3df60a7c918f /drivers/media/pci | |
parent | c41898e84dade305c13d2073c785009d6414631d (diff) | |
download | linux-68cfde02cc21045708ad1ebe604527ec18d5e01c.tar.xz |
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: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/pci')
0 files changed, 0 insertions, 0 deletions