|
@@ -415,6 +415,12 @@ static int em28xx_audio_init(struct em28xx *dev)
|
|
|
static int devnr;
|
|
|
int ret, err;
|
|
|
|
|
|
+ if (dev->has_audio_class) {
|
|
|
+ /* This device does not support the extension (in this case
|
|
|
+ the device is expecting the snd-usb-audio module */
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
+
|
|
|
printk(KERN_INFO "em28xx-audio.c: probing for em28x1 "
|
|
|
"non standard usbaudio\n");
|
|
|
printk(KERN_INFO "em28xx-audio.c: Copyright (C) 2006 Markus "
|
|
@@ -458,6 +464,12 @@ static int em28xx_audio_fini(struct em28xx *dev)
|
|
|
if (dev == NULL)
|
|
|
return 0;
|
|
|
|
|
|
+ if (dev->has_audio_class) {
|
|
|
+ /* This device does not support the extension (in this case
|
|
|
+ the device is expecting the snd-usb-audio module */
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
+
|
|
|
if (dev->adev) {
|
|
|
snd_card_free(dev->adev->sndcard);
|
|
|
kfree(dev->adev);
|