V4L/DVB (10125): em28xx: Don't do AC97 vendor detection for i2s audio devices
authorDevin Heitmueller <dheitmueller@linuxtv.org>
Tue, 30 Dec 2008 03:17:09 +0000 (00:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:40:38 +0000 (09:40 -0200)
commitde84830e6959b046a99da3be12246458f4ab9825
treed10e381d00711b066220c1968799d54f4d5c085f
parent3fbf930951462871848b5b504fa4a10ab06d2fee
V4L/DVB (10125): 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.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-core.c