]> 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)
commita5bc36ecaa8a5c90338ecc2c50ce12e85a192cd1
tree6281308d5bba7a61c3d460b443ba44fee15c1215
parent669c21ee7864eec44c8371165155a03cdea6e0e8
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