ASoC: mediatek: mt8183: add PM ops to machine drivers
Adds PM ops to machine drivers so that they notify components in the sound card when system suspend. Signed-off-by: Tzung-Bi Shih <tzungbi@google.com> Link: https://lore.kernel.org/r/20201211051334.2313899-1-tzungbi@google.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
631c78ed72
commit
de96bd7b7e
|
@ -811,6 +811,7 @@ static struct platform_driver mt8183_da7219_max98357_driver = {
|
|||
#ifdef CONFIG_OF
|
||||
.of_match_table = mt8183_da7219_max98357_dt_match,
|
||||
#endif
|
||||
.pm = &snd_soc_pm_ops,
|
||||
},
|
||||
.probe = mt8183_da7219_max98357_dev_probe,
|
||||
};
|
||||
|
|
|
@ -744,6 +744,7 @@ static struct platform_driver mt8183_mt6358_ts3a227_max98357_driver = {
|
|||
#ifdef CONFIG_OF
|
||||
.of_match_table = mt8183_mt6358_ts3a227_max98357_dt_match,
|
||||
#endif
|
||||
.pm = &snd_soc_pm_ops,
|
||||
},
|
||||
.probe = mt8183_mt6358_ts3a227_max98357_dev_probe,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue