[alsa-devel] [PATCH] ASoC: wm8994: Fix class W controls

Mark Brown broonie at kernel.org
Tue Aug 6 11:51:18 CEST 2013


On Tue, Aug 06, 2013 at 10:40:56AM +0200, Lars-Peter Clausen wrote:
> On 08/06/2013 12:35 AM, Mark Brown wrote:

> >  #define WM8994_CLASS_W_SWITCH(xname, reg, shift, max, invert) \
> >-	SOC_SINGLE_EXT(xname, reg, shift, max, invert, \
> >-		snd_soc_get_volsw, wm8994_put_class_w)
> >+	SOC_SINGLE_EXT(xname, reg, shift, 1, 0, \

> The patch changed 'max' to 1 and 'invert' to 0.

Meh, cut'n'paste - fixed now.  Though actually those values are always
right anyway as far as I remember.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130806/a06b0af5/attachment.sig>


More information about the Alsa-devel mailing list