]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: oxfw: change function prototype for AV/C Audio Subunit command
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 15 Dec 2015 14:56:19 +0000 (23:56 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 Dec 2015 15:30:04 +0000 (16:30 +0100)
commit87f0d0d2adbecf7c41ef3f6f8303539b1b2316b4
tree45c210b6a1743b256a846a9506a1ec821cb8e1af
parentb091d831395e90935c5f4646dacbb881f2e94dd4
ALSA: oxfw: change function prototype for AV/C Audio Subunit command

ALSA OXFW driver uses AV/C Audio Subunit commands to control some models.
The commands get/set the state of Feature function block of the subunit.
The commands are not specific to OXFW, thus there's a possibility to use
them in the other drivers.

Currently, helper functions for the commands require 'struct snd_oxfw',
although, it's not necessarily required. It's better to change prototype
of the functions without the structure for future use.

This commit changes the prototype.

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