mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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:
parent
1f5630eba7
commit
ccde239e71
1 changed files with 0 additions and 18 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue