summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-07-12 17:39:18 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-13 17:42:09 -0300
commitfc488517cc0d50bcc9e4ffa90fee5755f9c914fc (patch)
treee32c210cbe62c44bcb7291ddd18821370bef5c20 /drivers/media/radio
parent355a4d01bd74bdd7b9dd9adeec683b2e3dd9549b (diff)
downloadlinux-fc488517cc0d50bcc9e4ffa90fee5755f9c914fc.tar.bz2
[media] snd_tea575x: Add support for tuning AM
Add support for tuning AM (on devices with the necessary additional hardware components), and advertise the available bands using the new VIDIOC_ENUM_FREQ_BANDS ioctl. Signed-off-by: Hans de Goede <hdegoede@redhat.com> CC: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r--drivers/media/radio/radio-shark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/radio/radio-shark.c b/drivers/media/radio/radio-shark.c
index 72ded29728bb..e1970bf031a4 100644
--- a/drivers/media/radio/radio-shark.c
+++ b/drivers/media/radio/radio-shark.c
@@ -333,6 +333,7 @@ static int usb_shark_probe(struct usb_interface *intf,
shark->tea.radio_nr = -1;
shark->tea.ops = &shark_tea_ops;
shark->tea.cannot_mute = true;
+ shark->tea.has_am = true;
strlcpy(shark->tea.card, "Griffin radioSHARK",
sizeof(shark->tea.card));
usb_make_path(shark->usbdev, shark->tea.bus_info,