Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1594272
| Path | csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Jerome Brunet <jbrunet@baylibre.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/3] ASoC: dio2125: add dio2125 amp driver |
| Date | Tue, 07 Mar 2017 15:30:02 +0100 |
| Message-ID | <tinOG-8fM-3@gated-at.bofh.it> (permalink) |
| References | <ti5oK-3Ar-7@gated-at.bofh.it> <ti5oK-3Ar-5@gated-at.bofh.it> <tinlD-83G-1@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=5KyV94YGS11sFh+p/8hnUjDIosAC9NFQNfvnMg63+lc=; b=rjWF4Ouvr+D5Yaw8yg7iUYIH2tGa9hBEJ3EetZ9oKTCVxJTorKogKMMzYy+7sW2nh5 Gdp+qCG5tAAYpOfwqheon2aacn/fOEjLPHhBV1kDvnB+PyWj15WSiiW/pB0rnHTy006O 1P8FKW8enxnUVQhaSf2n/HyDSihjF8scm+ei03a+FIjCtpei9ZeNLfr3ypvhwZxuAZDS wS34PXhG60z/oQqZKng7+uFmiHQwK9LPYLbH/Vj62v4UsPZbffVsS8wrNkCBeqzzkunj aBK+HMg/u8a4toI9J31G+jqhxMzRlTsU169n+i3kfQaeX22GWtH4RyBp2ly/QenApRaN DqyQ== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=5KyV94YGS11sFh+p/8hnUjDIosAC9NFQNfvnMg63+lc=; b=nme9vapO+OB3GB7IZizIy1jcRw27JkBsDhserLdJEPq3rVm1x6fusbpGP4RcHnsxej rbsJJ/rpMv+MnkUJukgNdbgXAhR0IqWDzN+k4nl8PqxT9juSO2POt9a/x/HGwGBGQrw8 u8yXsL8hnsh5iTxY29b53A8RLH5eNSUUe2m0Rl5D6txRVXb+XEdiwK/5nOyo3QWQRrLq dUPJvGS/W6vhu/bJ9EQaxrSvtA+xH/kd9fbwGq9DDLPuzeUmPKrs4vtDH36Qfl6ZiT1Q I+FeqJ6PCO4w+z51W27zA1AScRbmWvz8x0TiX2Bb7vNICxz5r6ZWeP2Hd5MbIze+SCR+ dQuw== |
| X-Gm-Message-State | AMke39mySFFrpu6fx1odpR+eLCh+UlE9R+a6RVjd3hkahQW/mhT4aVIKlz2tTYUDQSD2GzPd |
| X-Received | by 10.28.20.148 with SMTP id 142mr822193wmu.134.1488892401550; Tue, 07 Mar 2017 05:13:21 -0800 (PST) |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailer | Evolution 3.22.5 (3.22.5-1.fc25) |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 24 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Liam Girdwood <lgirdwood@gmail.com>, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Kevin Hilman <khilman@baylibre.com>, Neil Armstrong <narmstrong@baylibre.com> |
| X-Original-Date | Tue, 07 Mar 2017 14:13:20 +0100 |
| X-Original-Message-ID | <1488892400.2420.26.camel@baylibre.com> |
| X-Original-References | <20170306174451.24406-1-jbrunet@baylibre.com> <20170306174451.24406-3-jbrunet@baylibre.com> <20170307123653.jg7jqe4sft2pqycc@sirena.org.uk> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1594272 |
Show key headers only | View raw
On Tue, 2017-03-07 at 13:36 +0100, Mark Brown wrote: > 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). Indeed, Thanks for pointing this out. I have question regarding this DAPM control. Here, I put the control in DAPM so it can help with the pop noise reduction, but I think it would be nice if the user could force the mute if he wants to. Would it be OK to add a user control and some logic so the output is enabled only if DAPM and the user agree it should ? > > Please submit an incremental patch fixing this. Done
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 2/3] ASoC: dio2125: add dio2125 amp driver Jerome Brunet <jbrunet@baylibre.com> - 2017-03-06 19:20 +0100
Applied "ASoC: dio2125: add dio2125 amp driver" to the asoc tree Mark Brown <broonie@kernel.org> - 2017-03-07 14:00 +0100
Re: [PATCH 2/3] ASoC: dio2125: add dio2125 amp driver Mark Brown <broonie@kernel.org> - 2017-03-07 14:30 +0100
Re: [PATCH 2/3] ASoC: dio2125: add dio2125 amp driver Mark Brown <broonie@kernel.org> - 2017-03-07 15:00 +0100
Re: [PATCH 2/3] ASoC: dio2125: add dio2125 amp driver Jerome Brunet <jbrunet@baylibre.com> - 2017-03-07 15:30 +0100
Re: [alsa-devel] [PATCH 2/3] ASoC: dio2125: add dio2125 amp driver Lars-Peter Clausen <lars@metafoo.de> - 2017-03-07 15:50 +0100
csiph-web