Commit a8d41eed authored by Patrick Lai's avatar Patrick Lai Committed by Bryan Huntsman
Browse files

ASoC: bypass powering widget process for platform widgets



Existing logic which calls dapm_power_widgets() regardless type
of widget results in kernel panic because caller of mixer/mux
update power functions must acquire codec mutex. Otherwise,
multiple DAPM powering processes can be executed in parallel
and corrupt commonly shared data structures.
When user-space issues platform mixer/mux command, DAPM
power widgets function should not be called in the mux and
mixer update power functions. soc-dsp framework would take
care of connecting front-end and back-end and kick start
DAPM powering process eventually. Since soc-dsp has access to
CODEC mutex, corruption is avoided.

CRs-fixed: 306115
Signed-off-by: default avatarPatrick Lai <plai@codeaurora.org>

Conflicts:

	sound/soc/soc-dapm.c
parent 00c15804
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment