summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/sof-priv.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2022-10-31 20:53:40 +0100
committerMark Brown <broonie@kernel.org>2022-10-31 22:15:19 +0100
commitf8fbf0dc702bf15b8b0ea1731a353bdb7faee8fd (patch)
tree5ca1b44c89f1d41fa231480325084f1315805f1c /sound/soc/sof/sof-priv.h
parentASoC: jz4740-i2s: Remove .set_sysclk() & friends (diff)
downloadlinux-f8fbf0dc702bf15b8b0ea1731a353bdb7faee8fd.tar.xz
linux-f8fbf0dc702bf15b8b0ea1731a353bdb7faee8fd.zip
ASoC: SOF: fix compilation issue with readb/writeb helpers
Replace them with read8/write8 to avoid compilation issue on ARM. In hindsight this is more consistent with the read64/write64 helpers already used in SOF. Reported-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/alsa-devel/Y1rTFrohLqaiZAy%2F@dev-arch.thelio-3990X/ Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20221031195340.249868-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-priv.h')
-rw-r--r--sound/soc/sof/sof-priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h
index eb1192dbdfb6..6760fd895950 100644
--- a/sound/soc/sof/sof-priv.h
+++ b/sound/soc/sof/sof-priv.h
@@ -174,9 +174,9 @@ struct snd_sof_dsp_ops {
* TODO: consider removing these operations and calling respective
* implementations directly
*/
- void (*writeb)(struct snd_sof_dev *sof_dev, void __iomem *addr,
+ void (*write8)(struct snd_sof_dev *sof_dev, void __iomem *addr,
u8 value); /* optional */
- u8 (*readb)(struct snd_sof_dev *sof_dev,
+ u8 (*read8)(struct snd_sof_dev *sof_dev,
void __iomem *addr); /* optional */
void (*write)(struct snd_sof_dev *sof_dev, void __iomem *addr,
u32 value); /* optional */