Browse Source

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

qctecmdr 4 years ago
parent
commit
f2532546f1
1 changed files with 1 additions and 0 deletions
  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;