aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2011-06-13 08:38:54 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-07 14:03:47 -0400
commit6293698277f04eb1623536887651381ed3abc8d0 (patch)
treed78c02a1021ccb8d754d7fcdb76cdf7a601a4743
parenta024c1a6b274e11596d124619e43c25560f64c01 (diff)
[media] feature-removal-schedule: change in how radio device nodes are handled
Radio devices have weird side-effects when used with combined TV/radio tuners and the V4L2 spec is ambiguous on how it should work. This results in inconsistent driver behavior which makes life hard for everyone. Be more strict in when and how the switch between radio and tv mode takes place and make sure all drivers behave the same. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--Documentation/feature-removal-schedule.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index 1a9446b59153..9df0e090f424 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -600,3 +600,25 @@ Why: Superseded by the UVCIOC_CTRL_QUERY ioctl.
600Who: Laurent Pinchart <laurent.pinchart@ideasonboard.com> 600Who: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
601 601
602---------------------------- 602----------------------------
603
604What: For VIDIOC_S_FREQUENCY the type field must match the device node's type.
605 If not, return -EINVAL.
606When: 3.2
607Why: It makes no sense to switch the tuner to radio mode by calling
608 VIDIOC_S_FREQUENCY on a video node, or to switch the tuner to tv mode by
609 calling VIDIOC_S_FREQUENCY on a radio node. This is the first step of a
610 move to more consistent handling of tv and radio tuners.
611Who: Hans Verkuil <hans.verkuil@cisco.com>
612
613----------------------------
614
615What: Opening a radio device node will no longer automatically switch the
616 tuner mode from tv to radio.
617When: 3.3
618Why: Just opening a V4L device should not change the state of the hardware
619 like that. It's very unexpected and against the V4L spec. Instead, you
620 switch to radio mode by calling VIDIOC_S_FREQUENCY. This is the second
621 and last step of the move to consistent handling of tv and radio tuners.
622Who: Hans Verkuil <hans.verkuil@cisco.com>
623
624----------------------------