]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rockchip: pdm: fix regmap_ops hang issue
authorSugar Zhang <sugar.zhang@rock-chips.com>
Wed, 3 Apr 2019 13:40:45 +0000 (21:40 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 4 Apr 2019 07:59:33 +0000 (14:59 +0700)
commit5e351db88b0030a2d0bc2597d8f8fb5f7e2f50e9
tree13653ab28f47cf5b69bf32e90932ea52b5d32e91
parent5659ba5f8e0963c6c0be862e358da955a3f87d0e
ASoC: rockchip: pdm: fix regmap_ops hang issue

This is because set_fmt ops maybe called when PD is off,
and in such case, regmap_ops will lead system hang.
enale PD before doing regmap_ops.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_pdm.c