lkml.org 
[lkml]   [2022]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2022-03-07 16:16    [W:0.030 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site