linux/drivers/media/usb/em28xx
Frank Schaefer 687ff8b0c4 [media] em28xx: fix I2S audio sample rate definitions and info output
The audio configuration in chip config register 0x00 and eeprom are always
consistent. But currently the audio configuration #defines for the chip config
register say 0x20 means 3 sample rates and 0x30 5 sample rates, while the eeprom
info output says 0x20 means 1 sample rate and 0x30 3 sample rates.

I've checked the datasheet excerpts I have and it seems that the meaning of
these bits is different for em2820/40 (1 and 3 sample rates) and em2860+
(3 and 5 smaple rates).
I have also checked my Hauppauge WinTV USB 2 (em2840) and the chip/eeprom
audio config 0x20 matches the sample rates reproted by the USB device
descriptor (32k only).

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-01-07 08:33:29 -02:00
..
em28xx-audio.c [media] em28xx: unify module version 2014-01-07 05:12:10 -02:00
em28xx-camera.c [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00
em28xx-cards.c [media] export em28xx_release_resources() symbol 2014-01-07 08:05:01 -02:00
em28xx-core.c [media] em28xx: fix I2S audio sample rate definitions and info output 2014-01-07 08:33:29 -02:00
em28xx-dvb.c [media] em28xx: prevent registering wrong interfaces for audio-only 2014-01-07 05:14:50 -02:00
em28xx-i2c.c [media] em28xx: fix I2S audio sample rate definitions and info output 2014-01-07 08:33:29 -02:00
em28xx-input.c [media] media: Remove OOM message after input_allocate_device 2014-01-07 08:01:42 -02:00
em28xx-reg.h [media] em28xx: fix I2S audio sample rate definitions and info output 2014-01-07 08:33:29 -02:00
em28xx-v4l.h [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00
em28xx-vbi.c [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00
em28xx-video.c [media] em28xx: prevent registering wrong interfaces for audio-only 2014-01-07 05:14:50 -02:00
em28xx.h [media] em28xx: fix I2S audio sample rate definitions and info output 2014-01-07 08:33:29 -02:00
Kconfig [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00
Makefile [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00