ASoC: pxa: rename to snd_soc_component_read()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 16 Jun 2020 05:20:15 +0000 (14:20 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jun 2020 14:13:38 +0000 (15:13 +0100)
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/87pn9z4men.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/mioa701_wm9713.c

index bf27b277c01f9e6b4aa27c50d3c8bd52003f76ef..763db7bbd9bb30592a09b5c37c682cc4e2abcb7a 100644 (file)
@@ -51,14 +51,14 @@ static int rear_amp_power(struct snd_soc_component *component, int power)
        unsigned short reg;
 
        if (power) {
-               reg = snd_soc_component_read32(component, AC97_GPIO_CFG);
+               reg = snd_soc_component_read(component, AC97_GPIO_CFG);
                snd_soc_component_write(component, AC97_GPIO_CFG, reg | 0x0100);
-               reg = snd_soc_component_read32(component, AC97_GPIO_PULL);
+               reg = snd_soc_component_read(component, AC97_GPIO_PULL);
                snd_soc_component_write(component, AC97_GPIO_PULL, reg | (1<<15));
        } else {
-               reg = snd_soc_component_read32(component, AC97_GPIO_CFG);
+               reg = snd_soc_component_read(component, AC97_GPIO_CFG);
                snd_soc_component_write(component, AC97_GPIO_CFG, reg & ~0x0100);
-               reg = snd_soc_component_read32(component, AC97_GPIO_PULL);
+               reg = snd_soc_component_read(component, AC97_GPIO_PULL);
                snd_soc_component_write(component, AC97_GPIO_PULL, reg & ~(1<<15));
        }