• T
    ALSA: firewire-tascam: change device probing processing · 53b3ffee
    Takashi Sakamoto 提交于
    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: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
    Signed-off-by: NTakashi Iwai <tiwai@suse.de>
    53b3ffee
tascam.c 4.5 KB