]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: oxfw: gather model-dependent conditions to a function
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 15 Dec 2015 14:56:21 +0000 (23:56 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 Dec 2015 15:30:05 +0000 (16:30 +0100)
commitee1b72073af1e25616dc33a74eb09adeb889c8c5
tree9cd2a07e0951bb678635fa7bef16b1c8665f7b65
parent30ee61732c30692daf6932572c648835881ad8e6
ALSA: oxfw: gather model-dependent conditions to a function

Adding control elements is just for models supported by old
firewire-speakers modules. The processing should be in a function to add
model-dependent quirk.

This commit moves the codes to the function. As a result, the function
should handle error state, thus this commit also changes prototype of
the function.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/oxfw/oxfw.c