ALSA: Return proper error code at probe in sound/usb/*
authorTakashi Iwai <tiwai@alsa3.local>
Sun, 28 Dec 2008 15:55:08 +0000 (16:55 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jan 2009 14:21:55 +0000 (15:21 +0100)
commit51721f70acaca5aa056b07c5cbe58e62662c068c
treed713f2f2347b0f3779bffc78ae502312e235d8a4
parent3e7fb9f7ec00fd7cefd0d8e83df0cff86ce12515
ALSA: Return proper error code at probe in sound/usb/*

Some drivers in soudn/usb/* don't handle the error code properly
from snd_card_create().  This patch fixes these places.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/caiaq/caiaq-device.c
sound/usb/usx2y/us122l.c
sound/usb/usx2y/usbusx2y.c