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:
Patrick Lai <plai@codeaurora.org>
Conflicts:
sound/soc/soc-dapm.c
Loading
Please sign in to comment