diff options
authorAntti Palosaari <crope@iki.fi>2015-03-14 16:03:55 (GMT)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-02 21:27:14 (GMT)
commitb18042a673e88c9457a6d1716219c2367ca447b0 (patch)
parentb3b2bf820e82d7581462dea28a9c3af1bd8cc747 (diff)
[media] rtl28xxu: return success for unimplemented FE callbackmedia/v3.20-2
Return success for FE callback on case we don't have any special implementation. fc0013 tuner driver calls that callback in order to switch antenna input, even we don't provide antenna switch. Returning error caused fc0013 driver given up tuning. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
index 77dcfdf..87fc0fe 100644
--- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
+++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
@@ -780,8 +780,6 @@ static int rtl2832u_frontend_callback(void *adapter_priv, int component,
case TUNER_RTL2832_TUA9001:
return rtl2832u_tua9001_tuner_callback(d, cmd, arg);
- default:
- return -EINVAL;
return 0;

Privacy Policy