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)
committerMark Brown <broonie@kernel.org>
Thu, 26 Aug 2021 12:59:33 +0000 (13:59 +0100)
commit53ca9b9777b95cdd689181d7c547e38dc79adad0
treecf6ab8651410b646b6e4a7aa266b5460b40ced57
parent7a2df53bc090a161713da057df7455b39f6cd00d
ASoC: rockchip: i2s: Fix regmap_ops hang

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>
sound/soc/rockchip/rockchip_i2s.c