Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e72c96e4 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: smb5-lib: fix mutex deadlock"

parents ec453551 09eb45c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -911,7 +911,7 @@ static void smblib_uusb_removal(struct smb_charger *chg)
	if (rc < 0)
		dev_err(chg->dev, "Couldn't disable secondary charger rc=%d\n",
			rc);
	mutex_lock(&chg->smb_lock);
	mutex_unlock(&chg->smb_lock);

	cancel_delayed_work_sync(&chg->pl_enable_work);