]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: rockchip: i2s: Fix regmap_ops hang
authorSugar Zhang <sugar.zhang@rock-chips.com>
Thu, 26 Aug 2021 04:01:50 +0000 (12:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 09:48:08 +0000 (11:48 +0200)
commit34a2e6704d55cec79c81bc84b8494430821db01f
treefe3d0bf4448ad75f5f37de76c7431d190f2fc514
parentb4bc9fa125d54ee68faac3dfbdfd6b8f845a9f97
ASoC: rockchip: i2s: Fix regmap_ops hang

[ Upstream commit 53ca9b9777b95cdd689181d7c547e38dc79adad0 ]

API 'set_fmt' maybe called when PD is off, in the situation,
any register access will hang the system. so, enable PD
before r/w register.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Link: https://lore.kernel.org/r/1629950520-14190-4-git-send-email-sugar.zhang@rock-chips.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/rockchip/rockchip_i2s.c