[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YiYhCEgHILYoDH4H@sirena.org.uk>
Date: Mon, 7 Mar 2022 15:13:12 +0000
From: Mark Brown <broonie@...nel.org>
To: Alifer Moraes <alifer.m@...iscite.com>
Cc: linux-kernel@...r.kernel.org, alsa-devel@...a-project.org,
eran.m@...iscite.com, lgirdwood@...il.com, perex@...ex.cz,
pierluigi.p@...iscite.com, tiwai@...e.com
Subject: Re: [PATCH] ASoC: simple-card: add bindings for amplifier support
On Mon, Mar 07, 2022 at 11:29:23AM -0300, Alifer Moraes wrote:
> + priv->pa_gpio = devm_gpiod_get_optional(dev, "pa", GPIOD_OUT_LOW);
> + if (IS_ERR(priv->pa_gpio)) {
> + ret = PTR_ERR(priv->pa_gpio);
> + dev_err(dev, "failed to get amplifier gpio: %d\n", ret);
> + return ret;
> + }
This would need to update the DT binding document. It is not clear that
we can't just use the existing simple-amplifier binding here though?
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists