Re: [PATCH v2 1/2] ASoC: codec: Inno codec driver for RK3036 SoC

From: Mark Brown
Date: Fri Nov 06 2015 - 04:29:45 EST

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.

Attachment: signature.asc
Description: PGP signature