]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ASoC: mt6660: Keep the pm_runtime enables before component stuff in mt6660_i2c_probe
authorZhang Qilong <zhangqilong3@huawei.com>
Sat, 8 Oct 2022 14:05:22 +0000 (22:05 +0800)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 14 Dec 2022 12:59:25 +0000 (13:59 +0100)
commit1f4fa5123edb039ce73ee1e6fa9748eefc661d43
treee6b252770eb028a9f29dbae76b7d03041fe93519
parent2598132af3d9f619b80f5b177a59d4c408990178
ASoC: mt6660: Keep the pm_runtime enables before component stuff in mt6660_i2c_probe

[ Upstream commit c4ab29b0f3a6f1e167c5a627f7cd036c1d2b7d65 ]

It would be better to keep the pm_runtime enables before the
IRQ and component stuff. Both of those could start triggering
PM runtime events.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20221008140522.134912-1-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 4160a515c75be6a0ed005aa410cab764f2ef0de4)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
sound/soc/codecs/mt6660.c