summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wcd-clsh-v2.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2020-06-16 08:20:40 +0300
committerMark Brown <broonie@kernel.org>2020-06-22 17:13:41 +0300
commiteaf2767cad9311e864e2736e2152d31799b23eda (patch)
tree421ed72c2a3a96d2a6ae43710df2bde1c052e7f5 /sound/soc/codecs/wcd-clsh-v2.c
parent981abdfe99950d6eff2481fb4c19aeeac50d0ca9 (diff)
downloadlinux-eaf2767cad9311e864e2736e2152d31799b23eda.tar.xz
ASoC: codecs: wcd*: rename to snd_soc_component_read()
We need to use snd_soc_component_read() instead of snd_soc_component_read32() This patch renames _read32() to _read() Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/87lfkn4mdy.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wcd-clsh-v2.c')
-rw-r--r--sound/soc/codecs/wcd-clsh-v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wcd-clsh-v2.c b/sound/soc/codecs/wcd-clsh-v2.c
index cc5a9c9b918b..1be82113c59a 100644
--- a/sound/soc/codecs/wcd-clsh-v2.c
+++ b/sound/soc/codecs/wcd-clsh-v2.c
@@ -119,7 +119,7 @@ static inline void wcd_enable_clsh_block(struct wcd_clsh_ctrl *ctrl,
static inline bool wcd_clsh_enable_status(struct snd_soc_component *comp)
{
- return snd_soc_component_read32(comp, WCD9XXX_A_CDC_CLSH_CRC) &
+ return snd_soc_component_read(comp, WCD9XXX_A_CDC_CLSH_CRC) &
WCD9XXX_A_CDC_CLSH_CRC_CLK_EN_MASK;
}