summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_sai.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2019-01-29 14:41:39 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:54:09 +0800
commitc43c341752c40e11544c79b6367046f85f6f65cc (patch)
tree8ceb5899e49a45a8f60c3ee3f36c23bf3f5ed678 /sound/soc/fsl/fsl_sai.c
parente138a5378b5e459cc71a1cc689fde632cb462cc1 (diff)
ASoC: fsl_sai: Support -EPROBE_DEFER
Support -EPROBE_DEFER for the resource is not ready in time Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_sai.c')
-rw-r--r--sound/soc/fsl/fsl_sai.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index 079ac1f17c83..361ea7126fb9 100644
--- a/sound/soc/fsl/fsl_sai.c
+++ b/sound/soc/fsl/fsl_sai.c
@@ -1383,7 +1383,7 @@ static int fsl_sai_probe(struct platform_device *pdev)
"bus", base, &fsl_sai_regmap_config);
/* Compatible with old DTB cases */
- if (IS_ERR(sai->regmap))
+ if (IS_ERR(sai->regmap) && PTR_ERR(sai->regmap) != -EPROBE_DEFER)
sai->regmap = devm_regmap_init_mmio_clk(&pdev->dev,
"sai", base, &fsl_sai_regmap_config);
if (IS_ERR(sai->regmap)) {