diff options
Diffstat (limited to 'arch/arm/mach-exynos/board-u1-modems.c')
-rw-r--r-- | arch/arm/mach-exynos/board-u1-modems.c | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/arch/arm/mach-exynos/board-u1-modems.c b/arch/arm/mach-exynos/board-u1-modems.c index 1b35070..793b89a 100644 --- a/arch/arm/mach-exynos/board-u1-modems.c +++ b/arch/arm/mach-exynos/board-u1-modems.c @@ -58,21 +58,33 @@ static struct modem_io_t umts_io_devices[] = { .links = LINKTYPE(LINKDEV_HSIC), }, [4] = { +#ifdef CONFIG_SLP + .name = "pdp0", +#else .name = "rmnet0", +#endif .id = 0x2A, .format = IPC_RAW, .io_type = IODEV_NET, .links = LINKTYPE(LINKDEV_HSIC), }, [5] = { +#ifdef CONFIG_SLP + .name = "pdp1", +#else .name = "rmnet1", +#endif .id = 0x2B, .format = IPC_RAW, .io_type = IODEV_NET, .links = LINKTYPE(LINKDEV_HSIC), }, [6] = { +#ifdef CONFIG_SLP + .name = "pdp2", +#else .name = "rmnet2", +#endif .id = 0x2C, .format = IPC_RAW, .io_type = IODEV_NET, @@ -253,8 +265,6 @@ void set_host_states(struct platform_device *pdev, int type) } if (active_ctl.gpio_initialized) { - if (type) - set_slave_wake(); pr_err("[MODEM_IF]Active States =%d, %s\n", type, pdev->name); gpio_direction_output(modem_link_pm_data.gpio_link_active, type); @@ -289,8 +299,7 @@ void set_hsic_lpa_states(int states) break; case STATE_HSIC_LPA_PHY_INIT: gpio_set_value(umts_modem_data.gpio_pda_active, 1); - gpio_set_value(modem_link_pm_data.gpio_link_slavewake, - 1); + set_slave_wake(); pr_info(LOG_TAG "set hsic lpa phy init: " "slave wake-up (%d)\n", gpio_get_value( |