summaryrefslogtreecommitdiff
path: root/drivers/media/rc/ati_remote.c
diff options
context:
space:
mode:
authorEvgeny Novikov <novikov@ispras.ru>2020-09-21 14:30:06 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-27 11:23:46 +0200
commitce5d72b6f5a0b694b19cd812788d8e1ea49aea21 (patch)
tree0073cb82e8c7ed9b6b420e2d373a45dd02723f2e /drivers/media/rc/ati_remote.c
parent8c608272ec3e6926ae2e258e74e84777d932ddd6 (diff)
media: dvb-frontends: rtl2832_sdr: set error code in probe
If rtl2832_sdr_probe() encounters an unsupported tuner it cleans up everything and returns 0. This can result in various bad things later. The patch sets the error code on the corresponding path. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Evgeny Novikov <novikov@ispras.ru> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/rc/ati_remote.c')
0 files changed, 0 insertions, 0 deletions