Revert "(CR): mmi_muc_uart: set gpio 35 and 59"

This is to fix issue caused in daily #47

This reverts commit cdd5543e7c24f7240aac278aad549789843eab44.

Change-Id: I3d35a3d8a2b1e909bd83128280d02180eb91390f
Reviewed-on: https://gerrit.mot.com/1238352
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Sanjay Dhar <sanjaydhar@motorola.com>
SME-Granted: Sanjay Dhar <sanjaydhar@motorola.com>
Submit-Approved: Sanjay Dhar <sanjaydhar@motorola.com>
This commit is contained in:
Dharmeshkumar Patel 2018-09-05 20:13:30 -05:00
commit ccde239e71

View file

@ -66,8 +66,6 @@ struct mod_muc_data_t {
int wake_out_gpio;
int wake_in_gpio;
int wake_irq;
int muc_1_gpio;
int muc_2_gpio;
int mod_attached_gpio;
int mod_attached_irq;
int uart_pm_state;
@ -1226,22 +1224,6 @@ static int muc_uart_probe(struct platform_device *pdev)
else
goto err2;
mm_data->muc_1_gpio = of_get_gpio(np, 3);
if (mm_data->muc_1_gpio >= 0) {
if (muc_uart_config_gpio(&pdev->dev,
mm_data->muc_1_gpio, "muc_1", 1, 0))
goto err1;
} else
goto err2;
mm_data->muc_2_gpio = of_get_gpio(np, 4);
if (mm_data->muc_2_gpio >= 0) {
if (muc_uart_config_gpio(&pdev->dev,
mm_data->muc_2_gpio, "muc_2", 1, 1))
goto err1;
} else
goto err2;
if (devm_request_irq(&pdev->dev,
mm_data->mod_attached_irq,
muc_uart_attach_irq_handler,