]> git.karo-electronics.de Git - karo-tx-linux.git/commit
em28xx: don't load audio modules when AC97 is mis-detected
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 27 Nov 2009 15:52:54 +0000 (13:52 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:42:16 +0000 (18:42 -0200)
commit0731160aca15df5882387e07d61671e6746c658f
tree0c6945f465424337ee44fa9dcc28e8eefa878ad6
parent1ca31892e3af05ad3a72769e3c922cca3cde4f9d
em28xx: don't load audio modules when AC97 is mis-detected

With em2800 hardware, AC97 hardware can be detected even when it doesn't
exist. If, after probing for AC97, the driver won't find a companion
chip, simply prevents the load of the audio modules.

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