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 <mengw@codeaurora.org>
This commit is contained in:
@@ -1273,6 +1273,7 @@ static int lpass_cdc_probe(struct platform_device *pdev)
|
|||||||
ret = 0;
|
ret = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BLOCKING_INIT_NOTIFIER_HEAD(&priv->notifier);
|
||||||
priv->dev = &pdev->dev;
|
priv->dev = &pdev->dev;
|
||||||
priv->dev_up = true;
|
priv->dev_up = true;
|
||||||
priv->initial_boot = true;
|
priv->initial_boot = true;
|
||||||
|
Reference in New Issue
Block a user