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

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Mar 13 22:33:57 CET 2012

On Tue, Mar 13, 2012 at 04:11:32PM +0100, Ola Lilja wrote:
> From: Kristoffer KARLSSON <kristoffer.karlsson at stericsson.com>
> Added support for a control that strobes a bit in
> a register to high then back to low (or the inverse).
> This is typically useful for hardware that requires
> strobing a singe bit to trigger some functionality
> and where exposing the bit in a normal enum control
> would require the user to first manually set then
> again unset the bit again for the strobe to trigger.
> Get/put accessors added.
> snd_soc_get_enum_strobe
> snd_soc_put_enum_strobe
> Also a generic convenience macros added.

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?
-------------- 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/20120313/ac15a6d1/attachment.sig 

More information about the Alsa-devel mailing list