diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-02-06 11:43:07 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-05 14:01:59 -0300 |
commit | d9b6707673b6590bb6b984af6c435c807335a459 (patch) | |
tree | 086339647bc1764d69daffe2a9c53fb45759d75e /block/blk-exec.c | |
parent | f74f89cb1cf2cccdc111bcab7de4fb8c41bb2a07 (diff) |
[media] bttv: disable g/s_tuner and g/s_freq when no tuner present, fix return codes
If no tuner is present, then disable the tuner and frequency ioctls.
We can remove a number of checks from those ioctls testing for the presence
of a tuner.
Also remove some tuner type checks (now done by the core) and fix an
error return when the prio check fails.
Finally some 'unlikely' statements are removed since those only make sense
in tightly often executed loops, otherwise they just clutter up the code.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'block/blk-exec.c')
0 files changed, 0 insertions, 0 deletions