mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
fixup! (CR) synaptics_mmi: support splash screen mode
Mot-CRs-Fixed: (CR) Signed-off-by: Konstantin Makariev <hcv867@motorola.com> Change-Id: Ib485c60e2e4f85fcb4873c2866127d0d581c6b06 Reviewed-on: https://gerrit.mot.com/1228687 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Konstantin Makariev <kmakariev@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
43ee289a41
commit
282414bc7f
1 changed files with 6 additions and 2 deletions
|
|
@ -7417,8 +7417,12 @@ err_sysfs:
|
|||
#endif
|
||||
|
||||
err_query_device:
|
||||
if (!IS_ERR(rmi4_data->vdd_quirk))
|
||||
regulator_disable(rmi4_data->vdd_quirk);
|
||||
if (!IS_ERR(rmi4_data->vdd_quirk)) {
|
||||
if (rmi4_data->splash_screen_mode)
|
||||
dev_warn(&client->dev, "leaving vdd_quirk enabled\n");
|
||||
else
|
||||
regulator_disable(rmi4_data->vdd_quirk);
|
||||
}
|
||||
|
||||
err_vdd_quirk:
|
||||
if (platform_data->regulator_en)
|
||||
|
|
|
|||
Loading…
Reference in a new issue