Commit 3e964432f56f05a8ef639902796e476456b230ad

Authored by Clemens Ladisch
Committed by Jaroslav Kysela
1 parent ede3531e8c

[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 <clemens@ladisch.de>

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

sound/usb/usbaudio.c
... ... @@ -788,6 +788,10 @@
788 788 return "device disabled";
789 789 case -EHOSTUNREACH:
790 790 return "device suspended";
  791 +#ifndef CONFIG_USB_EHCI_SPLIT_ISO
  792 + case -ENOSYS:
  793 + return "enable CONFIG_USB_EHCI_SPLIT_ISO to play through a hub";
  794 +#endif
791 795 case -EINVAL:
792 796 case -EAGAIN:
793 797 case -EFBIG: