浏览代码

asoc: lpass-cdc: init notifier head for lpass-cdc notifier

Call BLOCKING_INIT_NOTIFIER_HEAD for lpass-cdc notifier to
reduce warning log during bootup.

Change-Id: I0aa7fec44e857cf170fcd701986f1fa2db03e170
Signed-off-by: Meng Wang <[email protected]>
Meng Wang 4 年之前
父节点
当前提交
810d3bb498
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      asoc/codecs/lpass-cdc/lpass-cdc.c

+ 1 - 0
asoc/codecs/lpass-cdc/lpass-cdc.c

@@ -1273,6 +1273,7 @@ static int lpass_cdc_probe(struct platform_device *pdev)
 		ret = 0;
 	}
 
+	BLOCKING_INIT_NOTIFIER_HEAD(&priv->notifier);
 	priv->dev = &pdev->dev;
 	priv->dev_up = true;
 	priv->initial_boot = true;