[alsa-devel] [PATCH 05/16] ASoC: core: Add strobe control

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Mar 22 17:33:52 CET 2012


On Thu, Mar 22, 2012 at 05:20:06PM +0100, Kristoffer KARLSSON wrote:
> On 2012-03-13 22:33, Mark Brown wrote:
> > On Tue, Mar 13, 2012 at 04:11:32PM +0100, Ola Lilja wrote:

> > Based on this description it's hard to see why this control is patterned
> > after an enum - why would we have an enumerated control to bounce a
> > single register bit on then off?

> I originally chose to pattern this control after an enum since enum controls
> would allow for exposing such intuitive textual information to the client about
> the state of the control for this type of use case.

But if this is a strobe control it has no state, you do a write to
generate a strobe but the strobe lasts for no meaningful time so isn't
observable.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120322/7715f864/attachment.sig 


More information about the Alsa-devel mailing list