diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2012-02-24 16:25:49 +0530 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-24 14:46:26 +0000 |
commit | b1dd5897f53647390a7622795541bc89f8a84fe2 (patch) | |
tree | 2590c79637a2f949cebaac64f24a2358af3e9d24 /scripts | |
parent | 0512615db6dbf5ab7d5b6f46ebbe657707bb9dad (diff) | |
download | linux-b1dd5897f53647390a7622795541bc89f8a84fe2.tar.gz linux-b1dd5897f53647390a7622795541bc89f8a84fe2.tar.bz2 linux-b1dd5897f53647390a7622795541bc89f8a84fe2.zip |
ASoC: core: Don't overwrite .poweroff in snd_soc_pm_ops
SET_SYSTEM_SLEEP_PM_OPS writes .poweroff = *_resume once. Then we overwrite it
again explicitly as .poweroff = snd_soc_poweroff. Even though it works, as the
second one overwrites the first one, this is not the correct way. Fix this by
expanding SET_SYSTEM_SLEEP_PM_OPS in our structure.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions