]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: mts64: use new parport device model
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 22 Feb 2016 13:22:08 +0000 (18:52 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Feb 2016 14:01:43 +0000 (15:01 +0100)
commit0f2da7c4742eac7ea5a2cbd225314e92ddc52df6
tree0ebeccff49a55bf921fddbdeaf0b525665b2ff34
parent9d9ad808ef831f3efe540a49cf718be40d9d19bc
ALSA: mts64: use new parport device model

Modify mts64 driver to use the new parallel port device model.
The advantage of using the device model is that the driver gets binded
to the hardware, we get the feature of hotplug, we can bind/unbind the
driver at runtime.
The changes are in the way the driver gets registered with the parallel
port subsystem and the temporary device to probe mts64 card is removed
and mts64_probe() is used in the probe callback.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/mts64.c