]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - sound/drivers/portman2x4.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/net-2.6
[mirror_ubuntu-zesty-kernel.git] / sound / drivers / portman2x4.c
index e065b2a6444aeefeb122c659aebae4abc152b2f7..1b832870cc84aabdfc19669b7d23378ce4a22c8f 100644 (file)
@@ -668,7 +668,7 @@ static int __devinit snd_portman_probe_port(struct parport *p)
        parport_release(pardev);
        parport_unregister_device(pardev);
 
-       return res;
+       return res ? -EIO : 0;
 }
 
 static void __devinit snd_portman_attach(struct parport *p)