diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-07-29 17:13:55 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-29 18:40:59 +0100 |
commit | 564c65049eddb1a95b48958080db97eda88c98dd (patch) | |
tree | bfcb726569f7296f6875c564ba58276a0a36547a /net | |
parent | 60529c65ec3bc1a347f67eec1b1567efebbf7ce1 (diff) | |
download | op-kernel-dev-564c65049eddb1a95b48958080db97eda88c98dd.zip op-kernel-dev-564c65049eddb1a95b48958080db97eda88c98dd.tar.gz |
ASoC: dapm: Move snd_soc_dapm_update from dapm context to card
The update field of a DAPM context is only assigned while the card's dapm_mutex
is locked, the field is also cleared again while the mutex is stil locked. So
there will only ever be one DAPM context at a time with a non-NULL update field.
So it is safe to move the update field from the DAPM context struct to the card
struct. Doing so will allow further cleanups in this area.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions