summaryrefslogtreecommitdiffstats
path: root/sound/usb/misc
diff options
context:
space:
mode:
authorDaniel Mack2010-03-04 19:46:13 +0100
committerTakashi Iwai2010-03-05 08:17:14 +0100
commite5779998bf8b70e48a6cc208c8b61b33bd6117ea (patch)
tree512568f0fc4b81eac8019522c10df5b81483bcca /sound/usb/misc
parentALSA: usb-audio: header file cleanups (diff)
downloadkernel-qcow2-linux-e5779998bf8b70e48a6cc208c8b61b33bd6117ea.tar.gz
kernel-qcow2-linux-e5779998bf8b70e48a6cc208c8b61b33bd6117ea.tar.xz
kernel-qcow2-linux-e5779998bf8b70e48a6cc208c8b61b33bd6117ea.zip
ALSA: usb-audio: refactor code
Clean up the usb audio driver by factoring out a lot of functions to separate files. Code for procfs, quirks, urbs, format parsers etc all got a new home now. Moved almost all special quirk handling to quirks.c and introduced new generic functions to handle them, so the exceptions do not pollute the whole driver. Renamed usbaudio.c to card.c because this is what it actually does now. Renamed usbmidi.c to midi.c for namespace clarity. Removed more things from usbaudio.h. The non-standard drivers were adopted accordingly. Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/misc')
-rw-r--r--sound/usb/misc/ua101.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/misc/ua101.c b/sound/usb/misc/ua101.c
index b4a4cb46a178..796d8b25ee89 100644
--- a/sound/usb/misc/ua101.c
+++ b/sound/usb/misc/ua101.c
@@ -24,7 +24,7 @@
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include "../usbaudio.h"
-#include "../usbmidi.h"
+#include "../midi.h"
MODULE_DESCRIPTION("Edirol UA-101/1000 driver");
MODULE_AUTHOR("Clemens Ladisch <clemens@ladisch.de>");