ASoC: fsl_sai: Add -EPROBE_DEFER check for regmap init
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 24 Aug 2020 07:58:07 +0000 (15:58 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 24 Aug 2020 12:59:46 +0000 (13:59 +0100)
commitc1e47e8919da525c803d1557a30e44441db1e5ee
treec94dabd0d9deabe2cedd865c1b7c20f303d836e3
parent2ff6d5a108c6b7c07d1093c38e0def015edd325d
ASoC: fsl_sai: Add -EPROBE_DEFER check for regmap init

Regmap initialization may return -EPROBE_DEFER for clock
may not be ready, so check -EPROBE_DEFER error type before
start another Regmap initialization.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/1598255887-1391-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c