[alsa-devel] [PATCH v2 1/2] ASoC: rt5645: change gpio to gpiod APIs

Mark Brown broonie at kernel.org
Wed Jun 3 14:13:32 CEST 2015


On Wed, Jun 03, 2015 at 12:03:06PM +0000, Bard Liao wrote:

> > It seems better if people use names where possible if there's any chance
> > that we could add support for other GPIOs in the future, that avoids
> > confusion further down the line with extension.

> Do you mean use a well-described gpio name such as "hp-detect" so that
> we can use another name if we need to add other gpios in the future?

Yes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150603/b1920acf/attachment.sig>


More information about the Alsa-devel mailing list