mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
extcon: madera: Make hsdet gpios writeable
export gpios as writeable for Factory tests to work Change-Id: I5fdcc9090a0c1829ac9bb407f17115c2fa969a97 Signed-off-by: Ravi Vembu <raviv@motorola.com> Mot-CRs-Fixed: (CR) Change-Id: I5fdcc9090a0c1829ac9bb407f17115c2fa969a97 Reviewed-on: https://gerrit.mot.com/1255841 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Reviewed-by: Rav(CR) Vembu <raviv@motorola.com> Tested-by: Jira Key Submit-Approved: Jira Key
This commit is contained in:
parent
1727ea0026
commit
85680c7e90
1 changed files with 2 additions and 2 deletions
|
|
@ -2539,7 +2539,7 @@ static void madera_extcon_process_accdet_node(struct madera_extcon *info,
|
|||
info->usbc_det_gpio[0] = 0;
|
||||
else {
|
||||
ret = gpio_export(desc_to_gpio(info->usbc_det_gpio[0]),
|
||||
false);
|
||||
true);
|
||||
if (ret < 0) {
|
||||
dev_err(info->dev,
|
||||
"Failed to export usbsel gpio\n");
|
||||
|
|
@ -2560,7 +2560,7 @@ static void madera_extcon_process_accdet_node(struct madera_extcon *info,
|
|||
info->usbc_det_gpio[1] = 0;
|
||||
else {
|
||||
ret = gpio_export(desc_to_gpio(info->usbc_det_gpio[1]),
|
||||
false);
|
||||
true);
|
||||
if (ret < 0) {
|
||||
dev_err(info->dev,
|
||||
"Failed to export hsdet gpio\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue