summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@linuxtv.org>2008-12-29 20:52:37 -0500
committerDevin Heitmueller <dheitmueller@linuxtv.org>2008-12-29 20:52:37 -0500
commit8811c386c4bb95b9d444b7df58fb45fa10736e97 (patch)
tree604b887c90ea16f6a44098aa3c32305af2c60988 /linux/drivers/media/video/em28xx
parent93f9869a5b7ed2fd7ad99619b99212fc8d352f47 (diff)
downloadmediapointer-dvb-s2-8811c386c4bb95b9d444b7df58fb45fa10736e97.tar.gz
mediapointer-dvb-s2-8811c386c4bb95b9d444b7df58fb45fa10736e97.tar.bz2
em28xx: fix reversed definitions of I2S audio modes
From: Devin Heitmueller <dheitmueller@linuxtv.org> Noticed when doing the audio support for the Pinnacle PCTV HD Ultimate 808e that the modes were incorrect (the 808e uses I2S in 5 sample mode) Thanks for Ray Lu from Empia for providing the em2860/em2880 datasheet. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/em28xx')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-reg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-reg.h b/linux/drivers/media/video/em28xx/em28xx-reg.h
index a459b7c6a..2e8767583 100644
--- a/linux/drivers/media/video/em28xx/em28xx-reg.h
+++ b/linux/drivers/media/video/em28xx/em28xx-reg.h
@@ -22,8 +22,8 @@
/* em28xx Chip Configuration 0x00 */
#define EM28XX_CHIPCFG_VENDOR_AUDIO 0x80
#define EM28XX_CHIPCFG_I2S_VOLUME_CAPABLE 0x40
-#define EM28XX_CHIPCFG_I2S_3_SAMPRATES 0x30
-#define EM28XX_CHIPCFG_I2S_5_SAMPRATES 0x20
+#define EM28XX_CHIPCFG_I2S_5_SAMPRATES 0x30
+#define EM28XX_CHIPCFG_I2S_3_SAMPRATES 0x20
#define EM28XX_CHIPCFG_AC97 0x10
#define EM28XX_CHIPCFG_AUDIOMASK 0x30