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

Commit 67d71eb9 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

qcom-charger: smb-lib: correct the usb suspend votable name



Currently the name of the votable that suspends usb is INPUT_SUSPEND.
However, the PMI has two inputs - USB and DC. The dc suspending votable
is correctly named DC_SUSPEND. So rename the INPUT_SUSPEND to an
appropriate name - USB_SUSPEND.

Change-Id: Ia5ea1b139f5e9d560dc6492aa9fc13ffeeda83ca
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent c605e110
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1808,7 +1808,7 @@ int smblib_create_votables(struct smb_charger *chg)
{
	int rc = 0;

	chg->usb_suspend_votable = create_votable("INPUT_SUSPEND", VOTE_SET_ANY,
	chg->usb_suspend_votable = create_votable("USB_SUSPEND", VOTE_SET_ANY,
					smblib_usb_suspend_vote_callback,
					chg);
	if (IS_ERR(chg->usb_suspend_votable)) {