]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: dice: use structure to represent register parameters instead of array with...
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 10 Mar 2016 12:44:28 +0000 (21:44 +0900)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Mar 2016 14:44:39 +0000 (15:44 +0100)
commit0494ea2c3584e563b3a13edd09f86d40e1b526f0
tree6281308d5bba7a61c3d460b443ba44fee15c1215
parentd5394a731a923319281c79cc0a4a0cabde0decba
ALSA: dice: use structure to represent register parameters instead of array with basic type element

In dice interface, two blocks of register are accessible via IEEE 1394
asynchronous transaction to represent the number of supported isochronous
streams and the number of quadlets for stream information.

Current ALSA dice driver uses array with 'unsigned int' element for
temporary cache of these information. But using structure is preferable
for begin easily comprehensible.

This commit applies a local structure for this aim.

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