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:
Ravi Vembu 2018-10-15 11:17:24 -05:00 • committed by Ravikumar Vembu
commit 85680c7e90

View file

@ -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");