> > void ci_ulpi_exit(struct ci_hdrc *ci) > { > + if (ci->platdata->phy_mode != USBPHY_INTERFACE_MODE_ULPI) > + return; > + Only above line is duplicated, others are ok, I will apply tomorrow, no need to send v3. Peter > if (ci->ulpi) { > ulpi_unregister_interface(ci->ulpi); > ci->ulpi = NULL; > @@ -95,6 +98,9 @@ int ci_ulpi_resume(struct ci_hdrc *ci) { > int cnt = 100000; > > + if (ci->platdata->phy_mode != USBPHY_INTERFACE_MODE_ULPI) > + return 0; > + > while (cnt-- > 0) { > if (hw_read(ci, OP_ULPI_VIEWPORT, ULPI_SYNC_STATE)) > return 0; > -- > 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html