]> 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)
commit16c22fb05e829b42f7e391330338ec108c496152
tree0ebeccff49a55bf921fddbdeaf0b525665b2ff34
parent1570c3d39eb134343b5442a25553bea4a087a4db
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