diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-30 13:22:44 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-30 13:22:44 -0400 |
commit | c893e7c64e36087dceb4662917976a81d1754fc0 (patch) | |
tree | 30e441fe3e13fc8fcf9690bfe5222f404e19daa0 /sound | |
parent | ec3ed85f926f4e900bc48cec6e72abbe6475321f (diff) | |
parent | 2cefabc00ffdc1f22f960df946ae41b163081d5e (diff) |
Merge branch 'patches_for_v3.6' into v4l_for_linus
* patches_for_v3.6: (174 commits)
v4l: Export v4l2-common.h in include/linux/Kbuild
media: Revert "[media] Terratec Cinergy S2 USB HD Rev.2"
[media] media: Use pr_info not homegrown pr_reg macro
[media] Terratec Cinergy S2 USB HD Rev.2
[media] v4l: Correct conflicting V4L2 subdev selection API documentation
[media] Feature removal: V4L2 selections API target and flag definitions
[media] v4l: Unify selection flags documentation
[media] v4l: Unify selection flags
[media] v4l: Common documentation for selection targets
[media] v4l: Unify selection targets across V4L2 and V4L2 subdev interfaces
[media] v4l: Remove "_ACTUAL" from subdev selection API target definition names
[media] V4L: Remove "_ACTIVE" from the selection target name definitions
[media] media: dvb-usb: print mac address via native %pM
[media] s5p-tv: Use module_i2c_driver in sii9234_drv.c file
[media] media: gpio-ir-recv: add allowed_protos for platform data
[media] s5p-jpeg: Use module_platform_driver in jpeg-core.c file
[media] saa7134: fix spelling of detach in label
[media] cx88-blackbird: replace ioctl by unlocked_ioctl
[media] cx88: don't use current_norm
[media] cx88: fix a number of v4l2-compliance violations
...
Diffstat (limited to 'sound')
-rw-r--r-- | sound/i2c/other/tea575x-tuner.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/i2c/other/tea575x-tuner.c b/sound/i2c/other/tea575x-tuner.c index 7eca25fae413..b29b88f93c9e 100644 --- a/sound/i2c/other/tea575x-tuner.c +++ b/sound/i2c/other/tea575x-tuner.c | |||
@@ -197,6 +197,8 @@ static int vidioc_g_tuner(struct file *file, void *priv, | |||
197 | strcpy(v->name, "FM"); | 197 | strcpy(v->name, "FM"); |
198 | v->type = V4L2_TUNER_RADIO; | 198 | v->type = V4L2_TUNER_RADIO; |
199 | v->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO; | 199 | v->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO; |
200 | if (!tea->cannot_read_data) | ||
201 | v->capability |= V4L2_TUNER_CAP_HWSEEK_BOUNDED; | ||
200 | v->rangelow = FREQ_LO; | 202 | v->rangelow = FREQ_LO; |
201 | v->rangehigh = FREQ_HI; | 203 | v->rangehigh = FREQ_HI; |
202 | v->rxsubchans = tea->stereo ? V4L2_TUNER_SUB_STEREO : V4L2_TUNER_SUB_MONO; | 204 | v->rxsubchans = tea->stereo ? V4L2_TUNER_SUB_STEREO : V4L2_TUNER_SUB_MONO; |
@@ -305,7 +307,7 @@ static int vidioc_s_hw_freq_seek(struct file *file, void *fh, | |||
305 | } | 307 | } |
306 | tea->val &= ~TEA575X_BIT_SEARCH; | 308 | tea->val &= ~TEA575X_BIT_SEARCH; |
307 | snd_tea575x_set_freq(tea); | 309 | snd_tea575x_set_freq(tea); |
308 | return -EAGAIN; | 310 | return -ENODATA; |
309 | } | 311 | } |
310 | 312 | ||
311 | static int tea575x_s_ctrl(struct v4l2_ctrl *ctrl) | 313 | static int tea575x_s_ctrl(struct v4l2_ctrl *ctrl) |