projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c517d83
)
ASoC: dapm: Enable autodisable on SOC_DAPM_SINGLE_TLV_AUTODISABLE
author
Charles Keepax
<ckeepax@opensource.wolfsonmicro.com>
Wed, 22 Apr 2015 12:58:47 +0000
(13:58 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 22 Apr 2015 19:51:00 +0000
(20:51 +0100)
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 <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
include/sound/soc-dapm.h
patch
|
blob
|
history
diff --git
a/include/sound/soc-dapm.h
b/include/sound/soc-dapm.h
index 8d7416e46861744d990f4c0dbb2d1f72fdd9407b..15355892a0fffa28ad403cc2b11e81a126519819 100644
(file)
--- a/
include/sound/soc-dapm.h
+++ b/
include/sound/soc-dapm.h
@@
-287,7
+287,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_SINGLE_TLV_VIRT(xname, max, tlv_array) \
SOC_DAPM_SINGLE(xname, SND_SOC_NOPM, 0, max, 0, tlv_array)
#define SOC_DAPM_ENUM(xname, xenum) \