aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/em28xx/em28xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx.h')
-rw-r--r--drivers/media/usb/em28xx/em28xx.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/drivers/media/usb/em28xx/em28xx.h b/drivers/media/usb/em28xx/em28xx.h
index 4360338e7b31..a21a7463b557 100644
--- a/drivers/media/usb/em28xx/em28xx.h
+++ b/drivers/media/usb/em28xx/em28xx.h
@@ -309,13 +309,18 @@ enum em28xx_ac97_mode {
309 309
310struct em28xx_audio_mode { 310struct em28xx_audio_mode {
311 enum em28xx_ac97_mode ac97; 311 enum em28xx_ac97_mode ac97;
312};
312 313
313 u16 ac97_feat; 314enum em28xx_int_audio_type {
314 u32 ac97_vendor_id; 315 EM28XX_INT_AUDIO_NONE = 0,
315 316 EM28XX_INT_AUDIO_AC97,
316 unsigned int has_audio:1; 317 EM28XX_INT_AUDIO_I2S,
318};
317 319
318 u8 i2s_samplerates; 320enum em28xx_usb_audio_type {
321 EM28XX_USB_AUDIO_NONE = 0,
322 EM28XX_USB_AUDIO_CLASS,
323 EM28XX_USB_AUDIO_VENDOR,
319}; 324};
320 325
321/* em28xx has two audio inputs: tuner and line in. 326/* em28xx has two audio inputs: tuner and line in.
@@ -608,9 +613,9 @@ struct em28xx {
608 unsigned int is_em25xx:1; /* em25xx/em276x/7x/8x family bridge */ 613 unsigned int is_em25xx:1; /* em25xx/em276x/7x/8x family bridge */
609 unsigned char disconnected:1; /* device has been diconnected */ 614 unsigned char disconnected:1; /* device has been diconnected */
610 unsigned int has_video:1; 615 unsigned int has_video:1;
611 unsigned int has_audio_class:1;
612 unsigned int has_alsa_audio:1;
613 unsigned int is_audio_only:1; 616 unsigned int is_audio_only:1;
617 enum em28xx_int_audio_type int_audio_type;
618 enum em28xx_usb_audio_type usb_audio_type;
614 619
615 struct em28xx_board board; 620 struct em28xx_board board;
616 621