• Takashi Iwai's avatar
    ALSA: hda - Don't actually write registers for caps overwrites · 98a226ed
    Takashi Iwai authored
    Along with the transition to regmap for managing the cached parameter
    reads, the caps overwrite was also moved to regmap cache.  The cache
    change itself works, but it still tries to write the non-existing verb
    (the HDA parameter is read-only) wrongly.  It's harmless in most
    cases, but some chips are picky and may result in the codec
    communication stall.
    
    This patch avoids it just by adding the missing flag check in
    reg_write ops.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    98a226ed
hdac_regmap.c 11.8 KB