]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: oxfw: code refactoring for existent device entry with specifier_id and version
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 18 May 2021 08:45:49 +0000 (17:45 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 May 2021 10:22:12 +0000 (12:22 +0200)
commitbbccbb11b8624033dac25e6068dde334a8639f37
tree5b2bc4e2621a46b846cfaa0a3ff2b74b62ddbdf5
parent5b62d4e26993e7ec895aef0dea16b09dd67284f5
ALSA: oxfw: code refactoring for existent device entry with specifier_id and version

All of the devices known to be based on OXFW ASICs have the same layout
of configuration ROM, in which unit directory includes vendor, model,
specifier_id and version immediate values. Especially, the pair of
specifier_id and version is fixed to represent AV/C general protocol.

This commit refactors device entries to fulfil with these 4 elements.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210518084557.102681-4-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/oxfw/oxfw.c