diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2020-06-16 07:21:50 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-22 16:13:49 +0200 |
commit | 8a6fc33ba64a79c0bdb1eb8f8ebb2632af0ba36a (patch) | |
tree | a47dee4d242566014e04e5a1c2ca29d8b41efb0f /sound/soc/codecs/ak4458.c | |
parent | ASoC: codecs: cs*: rename to snd_soc_component_read() (diff) | |
download | linux-8a6fc33ba64a79c0bdb1eb8f8ebb2632af0ba36a.tar.xz linux-8a6fc33ba64a79c0bdb1eb8f8ebb2632af0ba36a.zip |
ASoC: codecs: ak*: 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>
Link: https://lore.kernel.org/r/878sgn4mc0.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/ak4458.c')
-rw-r--r-- | sound/soc/codecs/ak4458.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ak4458.c b/sound/soc/codecs/ak4458.c index 71562154c0b1..f180cb5dfe4f 100644 --- a/sound/soc/codecs/ak4458.c +++ b/sound/soc/codecs/ak4458.c @@ -410,7 +410,7 @@ static int ak4458_set_dai_mute(struct snd_soc_dai *dai, int mute) nfs = ak4458->fs; - reg = snd_soc_component_read32(component, AK4458_0B_CONTROL7); + reg = snd_soc_component_read(component, AK4458_0B_CONTROL7); ats = (reg & AK4458_ATS_MASK) >> AK4458_ATS_SHIFT; ndt = att_speed[ats] / (nfs / 1000); |