• Takashi Sakamoto's avatar
    ALSA: firewire-tascam: change device probing processing · 53b3ffee
    Takashi Sakamoto authored
    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: c0949b27 ('ALSA: firewire-tascam: add skeleton for TASCAM FireWire series')
    Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    53b3ffee
tascam.c 4.54 KB