[alsa-devel] [PATCH] ASoC: cs4271: free reset gpio in cs4271_remove()
Mark Brown
broonie at kernel.org
Wed Feb 19 12:15:29 CET 2014
On Wed, Feb 19, 2014 at 12:07:12PM +0100, Daniel Mack wrote:
> + if (gpio_is_valid(cs4271->gpio_nreset)) {
> /* Set codec to the reset state */
> gpio_set_value(cs4271->gpio_nreset, 0);
> + devm_gpio_free(codec->dev, cs4271->gpio_nreset);
> + }
If it's being requested as a managed resource shouldn't it be being
freed automatically?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140219/19f76655/attachment.sig>
More information about the Alsa-devel
mailing list