From: Viresh Kumar Date: Fri, 24 Feb 2012 10:55:49 +0000 (+0530) Subject: ASoC: core: Don't overwrite .poweroff in snd_soc_pm_ops X-Git-Tag: v3.4-rc1~88^2^2~27^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1dd5897f53647390a7622795541bc89f8a84fe2;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed