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>
This commit is contained in:

committed by
Takashi Iwai

parent
f2bd242fa1
commit
12865cac38
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user