diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2023-07-31 17:57:19 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-08-01 08:30:04 +0200 |
commit | c36570970a585bc816e15478fde71476f96f5e9c (patch) | |
tree | f8e3ac1c7d40937a85a6e60b4b25656245b3b25d /sound/pci/hda/hda_component.h | |
parent | 7b6466ad1d7bfa178d28f125d75187c4f6597f2d (diff) |
ALSA: hda/cs35l56: Do not mark cache dirty after REINIT
Only call regcache_mark_dirty() in cs35l56_hda_fw_load() if
the CS35L56 was SYSTEM_RESET.
recache_mark_dirty() changes the behaviour of regcache_sync()
to write out cache values that are not the default value, and
skip cache values that are the default.
AUDIO_REINIT does not reset the registers. regcache_mark_dirty()
after AUDIO_REINIT could cause the regcache_sync() to sync
registers incorrectly because it will assume that all registers
have reset to default.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230731165726.7940-3-rf@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_component.h')
0 files changed, 0 insertions, 0 deletions