]> err.no Git - linux-2.6/blobdiff - drivers/media/video/em28xx/em28xx-video.c
V4L/DVB (6970): Request snd-usb-audio for devices with Audio Class support
[linux-2.6] / drivers / media / video / em28xx / em28xx-video.c
index 5a90462d82e552bd88f8294b9662328bf75d36a0..de95ca874241e0b39115244e47ef9dd8a02de1fe 100644 (file)
@@ -1979,7 +1979,9 @@ static void request_module_async(struct work_struct *work)
        struct em28xx *dev = container_of(work,
                             struct em28xx, request_module_wk);
 
-       if (!dev->has_audio_class)
+       if (dev->has_audio_class)
+               request_module("snd-usb-audio");
+       else
                request_module("em28xx-alsa");
 }