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: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
This commit is contained in:
parent
c605e110ab
commit
67d71eb938
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue