aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tm6000/tm6000-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-09-19 07:36:34 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 00:39:43 -0300
commitc13dd70411e87e1ad1ccca0ba9bc3cf0a555e5a0 (patch)
tree8ccdf3ea91f3cf7e4d3dc0320bb5fe633920e52c /drivers/staging/tm6000/tm6000-core.c
parentV4L/DVB (12796): tm6000: Add a hack for PAL standards (diff)
downloadlinux-dev-c13dd70411e87e1ad1ccca0ba9bc3cf0a555e5a0.tar.xz
linux-dev-c13dd70411e87e1ad1ccca0ba9bc3cf0a555e5a0.zip
V4L/DVB (12797): tm6000: Allow selecting audio bitrate
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/tm6000-core.c')
-rw-r--r--drivers/staging/tm6000/tm6000-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/tm6000/tm6000-core.c b/drivers/staging/tm6000/tm6000-core.c
index 5497b7c4aea8..3f2727d5b957 100644
--- a/drivers/staging/tm6000/tm6000-core.c
+++ b/drivers/staging/tm6000/tm6000-core.c
@@ -722,9 +722,11 @@ printk("Original value=%d\n",val);
switch (bitrate) {
case 44100:
val|=0xd0;
+ dev->audio_bitrate=bitrate;
break;
case 48000:
val|=0x60;
+ dev->audio_bitrate=bitrate;
break;
}
val=tm6000_set_reg (dev, REQ_07_SET_GET_AVREG, 0xeb, val);