forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/mchehab/linux-2.6 * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: [media] msp3400: fill in v4l2_tuner based on vt->type field [media] tuner-core.c: don't change type field in g_tuner or g_frequency [media] cx18/ivtv: fix g_tuner support [media] tuner-core: power up tuner when called with s_power(1) [media] v4l2-ioctl.c: check for valid tuner type in S_HW_FREQ_SEEK [media] tuner-core: simplify the standard fixup [media] tuner-core/v4l2-subdev: document that the type field has to be filled in [media] v4l2-subdev.h: remove unused s_mode tuner op [media] feature-removal-schedule: change in how radio device nodes are handled [media] bttv: fix s_tuner for radio [media] pvrusb2: fix g/s_tuner support [media] v4l2-ioctl.c: prefill tuner type for g_frequency and g/s_tuner [media] tuner-core: fix tuner_resume: use t->mode instead of t->type [media] tuner-core: fix s_std and s_tuner
- Loading branch information
Showing
9 changed files
with
174 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -583,3 +583,25 @@ Why: Superseded by the UVCIOC_CTRL_QUERY ioctl. | |
Who: Laurent Pinchart <[email protected]> | ||
|
||
---------------------------- | ||
|
||
What: For VIDIOC_S_FREQUENCY the type field must match the device node's type. | ||
If not, return -EINVAL. | ||
When: 3.2 | ||
Why: It makes no sense to switch the tuner to radio mode by calling | ||
VIDIOC_S_FREQUENCY on a video node, or to switch the tuner to tv mode by | ||
calling VIDIOC_S_FREQUENCY on a radio node. This is the first step of a | ||
move to more consistent handling of tv and radio tuners. | ||
Who: Hans Verkuil <[email protected]> | ||
|
||
---------------------------- | ||
|
||
What: Opening a radio device node will no longer automatically switch the | ||
tuner mode from tv to radio. | ||
When: 3.3 | ||
Why: Just opening a V4L device should not change the state of the hardware | ||
like that. It's very unexpected and against the V4L spec. Instead, you | ||
switch to radio mode by calling VIDIOC_S_FREQUENCY. This is the second | ||
and last step of the move to consistent handling of tv and radio tuners. | ||
Who: Hans Verkuil <[email protected]> | ||
|
||
---------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.