[PATCH] ASoC: simple-card: add bindings for amplifier support
Mark Brown
broonie at kernel.org
Mon Mar 7 16:13:12 CET 2022
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220307/51ab49ce/attachment.sig>
More information about the Alsa-devel
mailing list