diff options
author | Devin Heitmueller <dheitmueller@linuxtv.org> | 2008-12-29 20:52:37 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:40:37 -0500 |
commit | 54d79e339881388cdb6a6888b0f6bcd4911d3582 (patch) | |
tree | d4c8848f3d473b1f5ac232b4ecd040b69f61069c /drivers/media/video/em28xx | |
parent | 62f3e69bd5ff9db1574356a84895324ab3896e44 (diff) |
V4L/DVB (10123): em28xx: fix reversed definitions of I2S audio modes
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.
Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-reg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/em28xx/em28xx-reg.h b/drivers/media/video/em28xx/em28xx-reg.h index a459b7c6a6c..2e876758352 100644 --- a/drivers/media/video/em28xx/em28xx-reg.h +++ b/drivers/media/video/em28xx/em28xx-reg.h | |||
@@ -22,8 +22,8 @@ | |||
22 | /* em28xx Chip Configuration 0x00 */ | 22 | /* em28xx Chip Configuration 0x00 */ |
23 | #define EM28XX_CHIPCFG_VENDOR_AUDIO 0x80 | 23 | #define EM28XX_CHIPCFG_VENDOR_AUDIO 0x80 |
24 | #define EM28XX_CHIPCFG_I2S_VOLUME_CAPABLE 0x40 | 24 | #define EM28XX_CHIPCFG_I2S_VOLUME_CAPABLE 0x40 |
25 | #define EM28XX_CHIPCFG_I2S_3_SAMPRATES 0x30 | 25 | #define EM28XX_CHIPCFG_I2S_5_SAMPRATES 0x30 |
26 | #define EM28XX_CHIPCFG_I2S_5_SAMPRATES 0x20 | 26 | #define EM28XX_CHIPCFG_I2S_3_SAMPRATES 0x20 |
27 | #define EM28XX_CHIPCFG_AC97 0x10 | 27 | #define EM28XX_CHIPCFG_AC97 0x10 |
28 | #define EM28XX_CHIPCFG_AUDIOMASK 0x30 | 28 | #define EM28XX_CHIPCFG_AUDIOMASK 0x30 |
29 | 29 | ||