On Tue, Mar 13, 2012 at 04:11:32PM +0100, Ola Lilja wrote:
From: Kristoffer KARLSSON kristoffer.karlsson@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.
SOC_ENUM_STROBE
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?