[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170307123653.jg7jqe4sft2pqycc@sirena.org.uk>
Date: Tue, 7 Mar 2017 13:36:53 +0100
From: Mark Brown <broonie@...nel.org>
To: Jerome Brunet <jbrunet@...libre.com>
Cc: Liam Girdwood <lgirdwood@...il.com>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org, Kevin Hilman <khilman@...libre.com>,
Neil Armstrong <narmstrong@...libre.com>
Subject: Re: [PATCH 2/3] ASoC: dio2125: add dio2125 amp driver
On Mon, Mar 06, 2017 at 06:44:50PM +0100, Jerome Brunet wrote:
> + gpiod_set_value(priv->gpiod_enable, val);
You should use gpiod_set_value_cansleep() so that the driver can work
with all GPIOs unless there's a specific need to have GPIOs you can
control in interrupt (which should be the case for anything you're using
for DAPM control).
Please submit an incremental patch fixing this.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists