summaryrefslogtreecommitdiff
path: root/sound/usb/line6/toneport.c
diff options
context:
space:
mode:
authorChris Rorvick <chris@rorvick.com>2015-02-07 10:43:19 -0600
committerTakashi Iwai <tiwai@suse.de>2015-02-08 09:07:07 +0100
commit12865cac38cc9e808ce8b479f4bb12fd00bfee7c (patch)
tree11aaa0bf5e70f2ea7d47fe4f6094033999305d03 /sound/usb/line6/toneport.c
parentf2bd242fa114df07ab8ed0d2f445a9a313e3aaa1 (diff)
ALSA: line6: Pass driver name to line6_probe()
Provide a unique name for each driver instead of using "line6usb" for all of them. This will allow for different configurations based on the driver type. Signed-off-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/toneport.c')
-rw-r--r--sound/usb/line6/toneport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/line6/toneport.c b/sound/usb/line6/toneport.c
index 2420d2fc8aa2..1a0a485b6654 100644
--- a/sound/usb/line6/toneport.c
+++ b/sound/usb/line6/toneport.c
@@ -557,7 +557,7 @@ static const struct line6_properties toneport_properties_table[] = {
static int toneport_probe(struct usb_interface *interface,
const struct usb_device_id *id)
{
- return line6_probe(interface, id,
+ return line6_probe(interface, id, "Line6-TonePort",
&toneport_properties_table[id->driver_info],
toneport_init, sizeof(struct usb_line6_toneport));
}