summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Trimmer <simont@opensource.cirrus.com>2024-12-06 10:57:57 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-09 13:33:44 +0100
commit5b67d909ac5ee96b9051020d752cae515d52f245 (patch)
treece327c3a707fdc08b66e23addc9a179cad41f678 /include
parentde39f72953953ca7a2630f9b80ccdfef40568746 (diff)
downloadlinux-5b67d909ac5ee96b9051020d752cae515d52f245.tar.gz
linux-5b67d909ac5ee96b9051020d752cae515d52f245.tar.bz2
linux-5b67d909ac5ee96b9051020d752cae515d52f245.zip
ALSA: hda: cs35l56: Remove calls to cs35l56_force_sync_asp1_registers_from_cache()
[ Upstream commit 47b17ba05a463b22fa79f132e6f6899d53538802 ] Commit 5d7e328e20b3 ("ASoC: cs35l56: Revert support for dual-ownership of ASP registers") replaced cs35l56_force_sync_asp1_registers_from_cache() with a dummy implementation so that the HDA driver would continue to build. Remove the calls from HDA and remove the stub function. Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com> Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20241206105757.718750-1-rf@opensource.cirrus.com Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/sound/cs35l56.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/sound/cs35l56.h b/include/sound/cs35l56.h
index 94e8185c4795..3dc7a1551ac3 100644
--- a/include/sound/cs35l56.h
+++ b/include/sound/cs35l56.h
@@ -271,12 +271,6 @@ struct cs35l56_base {
struct gpio_desc *reset_gpio;
};
-/* Temporary to avoid a build break with the HDA driver */
-static inline int cs35l56_force_sync_asp1_registers_from_cache(struct cs35l56_base *cs35l56_base)
-{
- return 0;
-}
-
static inline bool cs35l56_is_otp_register(unsigned int reg)
{
return (reg >> 16) == 3;