summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx/em28xx.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-19 09:22:28 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-11-19 09:22:28 -0200
commit89163963726ca703e129cb9c2e38206d1f8a2cb4 (patch)
tree30cee85819e1c0d09a1462f1700d04fd57b1e3e4 /linux/drivers/media/video/em28xx/em28xx.h
parent62b145c464b403e8ca5d1e17af30367298d5c6a0 (diff)
downloadmediapointer-dvb-s2-89163963726ca703e129cb9c2e38206d1f8a2cb4.tar.gz
mediapointer-dvb-s2-89163963726ca703e129cb9c2e38206d1f8a2cb4.tar.bz2
Make use of the em28xx chip configuration register to determine whether
From: Devin Heitmueller <devin.heitmueller@gmail.com> we have AC97 audio, I2S audio, or no audio support at all. Thanks for Ray Lu from Empia for providing the em2860/em2880 datasheet. Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/em28xx/em28xx.h')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx.h b/linux/drivers/media/video/em28xx/em28xx.h
index 2ef7d0224..d272598c9 100644
--- a/linux/drivers/media/video/em28xx/em28xx.h
+++ b/linux/drivers/media/video/em28xx/em28xx.h
@@ -257,6 +257,13 @@ enum enum28xx_itype {
EM28XX_RADIO,
};
+enum em28xx_audio_mode {
+ EM28XX_NO_AUDIO,
+ EM28XX_I2S_3_SAMPLE_RATES,
+ EM28XX_I2S_5_SAMPLE_RATES,
+ EM28XX_AC97,
+};
+
enum em28xx_amux {
EM28XX_AMUX_VIDEO,
EM28XX_AMUX_LINE_IN,
@@ -412,6 +419,7 @@ struct em28xx {
u32 i2s_speed; /* I2S speed for audio digital stream */
enum em28xx_decoder decoder;
+ enum em28xx_audio_mode audio_mode;
int tuner_type; /* type of the tuner */
int tuner_addr; /* tuner address */