summaryrefslogtreecommitdiff
path: root/sound/usb/line6/podhd.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/podhd.c
parentf2bd242fa114df07ab8ed0d2f445a9a313e3aaa1 (diff)
downloadlwn-12865cac38cc9e808ce8b479f4bb12fd00bfee7c.tar.gz
lwn-12865cac38cc9e808ce8b479f4bb12fd00bfee7c.zip
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/podhd.c')
-rw-r--r--sound/usb/line6/podhd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/line6/podhd.c b/sound/usb/line6/podhd.c
index 9c3c7441fd11..63dcaef41ac3 100644
--- a/sound/usb/line6/podhd.c
+++ b/sound/usb/line6/podhd.c
@@ -169,7 +169,7 @@ static const struct line6_properties podhd_properties_table[] = {
static int podhd_probe(struct usb_interface *interface,
const struct usb_device_id *id)
{
- return line6_probe(interface, id,
+ return line6_probe(interface, id, "Line6-PODHD",
&podhd_properties_table[id->driver_info],
podhd_init, sizeof(struct usb_line6));
}