emc: t186: fix mutex
This commit is contained in:
1 parent
c66af1b766
commit
bbf04e9a89
1 file changed
+2
@@ -443,6 +443,8 @@ static int tegra186_emc_probe(struct platform_device *pdev)
|
||||
if (!emc)
|
||||
return -ENOMEM;
|
||||
|
||||
mutex_init(&emc->rate_lock);
|
||||
|
||||
emc->bpmp = tegra_bpmp_get(&pdev->dev);
|
||||
if (IS_ERR(emc->bpmp))
|
||||
return dev_err_probe(&pdev->dev, PTR_ERR(emc->bpmp),
|
||||
|
||||
Reference in new issue
Block a user