From: Charles Keepax Date: Wed, 22 Apr 2015 12:58:47 +0000 (+0100) Subject: ASoC: dapm: Enable autodisable on SOC_DAPM_SINGLE_TLV_AUTODISABLE X-Git-Tag: v3.12.43~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76fa87f69181daa6a93a3215a99eeb21aa396afe;p=thirdparty%2Fkernel%2Fstable.git ASoC: dapm: Enable autodisable on SOC_DAPM_SINGLE_TLV_AUTODISABLE commit a2d97723cb3a7741af81868427b36bba274b681b upstream. Correct small copy and paste error where autodisable was not being enabled for the SOC_DAPM_SINGLE_TLV_AUTODISABLE control. Signed-off-by: Charles Keepax Signed-off-by: Mark Brown Signed-off-by: Jiri Slaby --- diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index 9e600b418467d..11a6d2d68914d 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h @@ -300,7 +300,7 @@ struct device; .access = SNDRV_CTL_ELEM_ACCESS_TLV_READ | SNDRV_CTL_ELEM_ACCESS_READWRITE,\ .tlv.p = (tlv_array), \ .get = snd_soc_dapm_get_volsw, .put = snd_soc_dapm_put_volsw, \ - .private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 0) } + .private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 1) } #define SOC_DAPM_ENUM(xname, xenum) \ { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ .info = snd_soc_info_enum_double, \