Messages in this thread | | | Date | Fri, 6 Nov 2015 09:28:42 +0000 | From | Mark Brown <> | Subject | Re: [PATCH v2 1/2] ASoC: codec: Inno codec driver for RK3036 SoC |
| |
On Fri, Nov 06, 2015 at 04:15:37PM +0800, Shunqian Zheng wrote: > On 2015年11月06日 00:13, Mark Brown wrote: > >On Thu, Nov 05, 2015 at 05:53:13PM +0800, Shunqian Zheng wrote:
> >This looks like a simple boolean control rather than an enum - it looks > >like it's just turning antipop on and off.
> It is a boolean control, but it takes 2 bits -- the value of "on" is b10 and > b01 for "off". > So I try to use VALUE_ENUM.
The presentation of the control to userspace needs to be a Switch, this is probably going to need you to code something custom. [unhandled content-type:application/pgp-signature] | |