Skip to content

Commit

Permalink
[media] rtl28xxu: return success for unimplemented FE callback
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
palosaari authored and mchehab committed Apr 2, 2015
1 parent b3b2bf8 commit b18042a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/media/usb/dvb-usb-v2/rtl28xxu.c
Expand Up @@ -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;
Expand Down

0 comments on commit b18042a

Please sign in to comment.