static void msm_otg_host_notify(struct msm_otg *motg, int on) { if (on) msm_otg_host_phy_tune(motg, 0x33, 0x14, 0x13); else ulpi_init(motg); }
static void msm_otg_host_notify(struct msm_otg *motg, int on) { pr_info("host_notify: %d, dock %d\n", on, motg->smartdock); if (on) msm_otg_host_phy_tune(motg, 0x33, 0x14); }
static void msm_otg_host_notify(struct msm_otg *motg, int on) { pr_info("host_notify: %d, dock %d\n", on, motg->smartdock); if (on) msm_otg_host_phy_tune(motg, 0x33, 0x14); if (motg->smartdock) { motg->ndev.state = NOTIFY_HOST_REMOVE; return; } if (on) { motg->ndev.mode = NOTIFY_HOST_MODE; host_state_notify(&motg->ndev, NOTIFY_HOST_ADD); } else { motg->ndev.mode = NOTIFY_NONE_MODE; host_state_notify(&motg->ndev, NOTIFY_HOST_REMOVE); } }