android_kernel_samsung_a7y1.../sound/soc
Charles Keepax 6a571bcb24 ASoC: dapm: Correct DAPM handling of active widgets during shutdown
commit 9b3193089e77d3b59b045146ff1c770dd899acb1 upstream.

commit c2caa4da46a4 ("ASoC: Fix widget powerdown on shutdown") added a
set of the power state during snd_soc_dapm_shutdown to ensure the
widgets powered off. However, when commit 39eb5fd13dff
("ASoC: dapm: Delay w->power update until the changes are written")
added the new_power member of the widget structure, to differentiate
between the current power state and the target power state, it did not
update the shutdown to use the new_power member.

As new_power has not updated it will be left in the state set by the
last DAPM sequence, ie. 1 for active widgets. So as the DAPM sequence
for the shutdown proceeds it will turn the widgets on (despite them
already being on) rather than turning them off.

Fixes: 39eb5fd13dff ("ASoC: dapm: Delay w->power update until the changes are written")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20200228153145.21013-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 14:10:36 +02:00
..
adi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
atmel ASoC: atmel: fix build error with CONFIG_SND_ATMEL_SOC_DMA=m 2020-04-07 13:56:44 +02:00
au1x A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bcm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blackfin A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cirrus A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
codecs ASoC: pcm512x: Fix unbalanced regulator enable call in probe error path 2020-04-07 14:10:34 +02:00
davinci ASoC: ti: davinci-mcasp: Fix slot mask settings when using multiple AXRs 2020-04-07 13:42:18 +02:00
dwc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl ASoC: imx-sgtl5000: put of nodes if finding codec fails 2020-04-07 13:40:11 +02:00
generic A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
intel ASoC: Intel: Fix use of potentially uninitialized variable 2020-04-07 07:40:18 +02:00
jz4740 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kirkwood ASoC: kirkwood: fix external clock probe defer 2020-04-07 12:40:47 +02:00
mediatek A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mxs A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nuc900 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
omap A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pxa A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
qcom ASoC: qcom: Fix of-node refcount unbalance to link->codec_of_node 2020-04-07 13:49:19 +02:00
rockchip ASoc: rockchip: i2s: Fix RPM imbalance 2020-04-07 09:28:55 +02:00
samsung A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sh ASoC: rsnd: Reinitialize bit clock inversion flag for every format setting 2020-04-07 09:26:42 +02:00
sirf A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
spear A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sti A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sunxi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tegra A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
txx9 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ux500 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xtensa A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
zte A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-ac97.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-cache.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-compress.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-dapm.c ASoC: dapm: Correct DAPM handling of active widgets during shutdown 2020-04-07 14:10:36 +02:00
soc-devres.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-generic-dmaengine-pcm.c ASoC: dmaengine: Make the pcm->name equal to pcm->id if the name is not set 2020-04-07 07:39:12 +02:00
soc-io.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-jack.c ASoC: Jack: Fix NULL pointer dereference in snd_soc_jack_report 2020-04-07 13:07:07 +02:00
soc-ops.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-pcm.c ASoC: pcm: Fix possible buffer overflow in dpcm state sysfs output 2020-04-07 14:10:32 +02:00
soc-topology.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-utils.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30