The patch number 10125 was added via Devin Heitmueller <dheitmuel...@linuxtv.org> to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward compatible with older kernels. Compatibility modifications will be removed before inclusion into the mainstream Kernel If anyone has any objections, please let us know by sending a message to: v4l-dvb-maintai...@linuxtv.org ------ From: Devin Heitmueller <dheitmuel...@linuxtv.org> em28xx: Don't do AC97 vendor detection for i2s audio devices The current code was trying to query the AC97 registers for the vendor information even if it was clearly not a AC97 audio device (resulting in errors in the dmesg output). This was due to a bug in the way we did the check. Priority: normal Signed-off-by: Devin Heitmueller <dheitmuel...@linuxtv.org> --- linux/drivers/media/video/em28xx/em28xx-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -r e02d2bfee024 -r 4a06b5c3344f linux/drivers/media/video/em28xx/em28xx-core.c --- a/linux/drivers/media/video/em28xx/em28xx-core.c Mon Dec 29 21:34:37 2008 -0500 +++ b/linux/drivers/media/video/em28xx/em28xx-core.c Mon Dec 29 22:17:09 2008 -0500 @@ -497,7 +497,8 @@ int em28xx_audio_setup(struct em28xx *de dev->audio_mode.i2s_5rates = 1; } - if (!(cfg & EM28XX_CHIPCFG_AC97)) { + if ((cfg & EM28XX_CHIPCFG_AUDIOMASK) != EM28XX_CHIPCFG_AC97) { + /* Skip the code that does AC97 vendor detection */ dev->audio_mode.ac97 = EM28XX_NO_AC97; goto init_audio; } --- Patch is available at: http://linuxtv.org/hg/v4l-dvb/rev/4a06b5c3344f195fd66c3273ca8f0327e5661c6d _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits