[PATCH 06/10] ASoC: cs4271: Convert to GPIO descriptors

Alexander Sverdlin alexander.sverdlin at gmail.com
Wed Nov 29 14:32:21 PST 2023


Hi Linus,

On Wed, 2023-11-29 at 22:28 +0100, Linus Walleij wrote:
> This converts the Cirrus CS4271 ASoC codec driver to use
> GPIO descriptors.
> 
> It turns out that there are two in-kernel users of the platform
> data passing mechanism so these are switched over as well.
> 
> One locally defined GPIO "gpio_disabled" is declared in the
> state struct but completely unused in the driver, so we delete
> it.
> 
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Reviewed-by: Alexander Sverdlin <alexander.sverdlin at gmail.com>

> ---
> NB: the affected platform EP93xx is being converted to device tree
> I don't know if that is happening in this merge window, but the
> colission should be manageable.
> ---
>  arch/arm/mach-ep93xx/edb93xx.c       | 32 +++++++++++++++++++++++++----
>  arch/arm/mach-ep93xx/vision_ep9307.c | 12 ++++++++++-

I'm not sure about this merge window, but you are right, the above files
will be removed.

>  include/sound/cs4271.h               |  1 -
>  sound/soc/codecs/cs4271.c            | 39 ++++++++++++------------------------

Codec driver is untouched by the mentioned DT-conversion series.

>  4 files changed, 52 insertions(+), 32 deletions(-)

-- 
Alexander Sverdlin.




More information about the linux-arm-kernel mailing list