summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorTakashi Iwai2016-01-11 11:33:34 +0100
committerTakashi Iwai2016-01-29 07:36:10 +0100
commit79289e24194a9d099bf18f200894832c5760cd83 (patch)
tree6a686fddaaeae99cdf85f6c2645d92891bceab74 /README
parentALSA: hda - Add new GPU codec ID 0x10de0083 to snd-hda (diff)
downloadkernel-qcow2-linux-79289e24194a9d099bf18f200894832c5760cd83.tar.gz
kernel-qcow2-linux-79289e24194a9d099bf18f200894832c5760cd83.tar.xz
kernel-qcow2-linux-79289e24194a9d099bf18f200894832c5760cd83.zip
ALSA: usb-audio: Refer to chip->usb_id for quirks and MIDI creation
This is a preliminary patch for the later change to allow a better quirk ID management. In the current USB-audio code, there are a few places looking at usb_device idVendor and idProduct fields directly even though we have already a static member in snd_usb_audio.usb_id. This patch modifies such codes to refer to the latter field. For achieving this, two slightly intensive changes have been done: - The snd_usb_audio object is set/reset via dev_getdrv() for the given USB device; it's needed for minimizing the changes for some existing quirks that take only usb_device object. - __snd_usbmidi_create() is introduced to receive the pre-given usb_id argument. The exported snd_usbmidi_create() is unchanged by calling this new function internally. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions