diff options
| author | Kuninori Morimoto <[email protected]> | 2020-01-10 11:36:07 +0900 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-01-10 13:32:50 +0000 |
| commit | d7a8cb4931652256a01383bb3ea10fab316e72a1 (patch) | |
| tree | 9ed82c5264b2f9aae8bb37cecc88e5656e56765d /tools/perf/scripts/python | |
| parent | 1272063a7ee4e60ace4cf7cae621fb6f8cafaaba (diff) | |
ASoC: soc-core: remove duplicate pinctrl operation when suspend
snd_soc_suspend() are doing below for pinctrl_pm_select_sleep_state()
int snd_soc_suspend(struct device *dev)
{
...
for_each_card_components(card, component) {
...
(1) pinctrl_pm_select_sleep_state(component->dev);
}
for_each_card_rtds(card, rtd) {
...
(2) pinctrl_pm_select_sleep_state(cpu_dai->dev);
}
}
(1) is called for all component (CPU/Codec/Platform), and
(2) is called for CPU DAIs.
Here, component->dev is same as dai->dev.
This means, it is called in duplicate on CPU case.
This patch removes (2).
Signed-off-by: Kuninori Morimoto <[email protected]>
Reviewed-By: Ranjani Sridharan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions