From: Clemens Ladisch Date: Tue, 14 Mar 2006 07:06:12 +0000 (+0100) Subject: [ALSA] usb-audio: add error message about missing split iso support X-Git-Tag: v2.6.17-rc1~1129^2^2~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e964432f56f05a8ef639902796e476456b230ad;p=thirdparty%2Fkernel%2Flinux.git [ALSA] usb-audio: add error message about missing split iso support Modules: USB generic driver Add an error message for -ENOSYS for situations when split iso support is needed but not enabled. Signed-off-by: Clemens Ladisch --- diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c index 45157d3cf7896..6fad2c40c77cf 100644 --- a/sound/usb/usbaudio.c +++ b/sound/usb/usbaudio.c @@ -788,6 +788,10 @@ static const char *usb_error_string(int err) return "device disabled"; case -EHOSTUNREACH: return "device suspended"; +#ifndef CONFIG_USB_EHCI_SPLIT_ISO + case -ENOSYS: + return "enable CONFIG_USB_EHCI_SPLIT_ISO to play through a hub"; +#endif case -EINVAL: case -EAGAIN: case -EFBIG: