]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: firewire-tascam: change device probing processing
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 12 Oct 2015 10:10:25 +0000 (19:10 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Oct 2015 12:17:02 +0000 (14:17 +0200)
commit53b3ffee788559fe26d32f21b223bf4bad959477
treefaf59f481b5a142d282bda00a3f2d4839e23ea8e
parente65e2cb99e44704f63b76e4395092b0533bef88b
ALSA: firewire-tascam: change device probing processing

Currently, this driver picks up model name with be32_to_cpu() macro
to align characters. This is wrong operation because the result is
different depending on CPU endiannness.

Additionally, vendor released several versions of firmware for this
series. It's not better to assign model-dependent information to
device entry according to the version field.

This commit fixes these bugs. The name of model is picked up correctly
and used to identify model-dependent information.

Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
Fixes: c0949b278515 ('ALSA: firewire-tascam: add skeleton for TASCAM FireWire series')
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/tascam/tascam.c