• Takashi Sakamoto's avatar
    ALSA: fireworks: add support for AudioFire2 quirk · 9c6893e0
    Takashi Sakamoto authored
    Fireworks uses TSB43CB43(IceLynx-Micro) as its IEC 61883-1/6 interface.
    This chip includes ARM7 core, and loads and runs program. The firmware
    is stored in on-board memory and loaded every powering-on.
    
    Echo Audio ships several versions of firmwares for each model. These
    firmwares have each quirk and the quirk changes a sequence of packets.
    
    AudioFire2 has a quirk to transfer a first packet with non-zero in
    its dbc field. This causes ALSA Fireworks driver to detect discontinuity.
    As long as I investigated, firmware 5.7, 5.7.6 and 5.8 have this quirk.
    
    This commit adds a support for the quirk to handle AudioFire2 packets.
    For safe, CIP_SKIP_INIT_DBC_CHECK is applied to all versions of
    AudioFire2's firmwares.
    
    02 00050002 90ffffff <-
    42 0005000a 90013000
    42 00050012 90014400
    42 0005001a 90015800
    02 0005001a 90ffffff
    42 00050022 90019000
    42 0005002a 9001a400
    42 00050032 9001b800
    02 00050032 90ffffff
    42 0005003a 9001d000
    42 00050042 9001e400
    42 0005004a 9001f800
    02 0005004a 90ffffff
    Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    9c6893e0
fireworks.h 6.55 KB