ALSA: hda: cs35l56: Exit cache-only after cs35l56_wait_for_firmware_boot()
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Mon, 8 Apr 2024 10:18:01 +0000 (11:18 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 8 Apr 2024 13:09:59 +0000 (14:09 +0100)
commit73580ec607dfe125b140ed30c7c0a074db78c558
tree58267faae5cf329061987bdd45eb620f8ce3f487
parent70ee853eec5693fefd8348a2b049d9cb83362e58
ALSA: hda: cs35l56: Exit cache-only after cs35l56_wait_for_firmware_boot()

Adds calls to disable regmap cache-only after a successful return from
cs35l56_wait_for_firmware_boot().

This is to prepare for a change in the shared ASoC module that will
leave regmap in cache-only mode after cs35l56_system_reset(). This is
to prevent register accesses going to the hardware while it is
rebooting.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://msgid.link/r/20240408101803.43183-3-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/pci/hda/cs35l56_hda.c