On 08/26/2014 06:19 PM, dinguyen@xxxxxxxxxxxxxxxxxxxxx wrote: > From: Dinh Nguyen <dinguyen@xxxxxxxxxxxxxxxxxxxxx> > > Move the "samsung,s3c6400-hsotg" binding as the probe function in the gadget > driver will get removed when the dual-role driver is implemented. > > Signed-off-by: Dinh Nguyen <dinguyen@xxxxxxxxxxxxxxxxxxxxx> > Acked-by: Paul Zimmerman <paulz@xxxxxxxxxxxx> > --- > drivers/usb/dwc2/gadget.c | 1 - > drivers/usb/dwc2/platform.c | 1 + > 2 files changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c > index 94f7a3f..8c45b4c 100644 > --- a/drivers/usb/dwc2/gadget.c > +++ b/drivers/usb/dwc2/gadget.c > @@ -3674,7 +3674,6 @@ static int s3c_hsotg_resume(struct platform_device *pdev) > > #ifdef CONFIG_OF > static const struct of_device_id s3c_hsotg_of_ids[] = { > - { .compatible = "samsung,s3c6400-hsotg", }, > { .compatible = "snps,dwc2", }, > { /* sentinel */ } > }; > diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c > index 5f0c4bb..dd2f8f5 100644 > --- a/drivers/usb/dwc2/platform.c > +++ b/drivers/usb/dwc2/platform.c > @@ -100,6 +100,7 @@ static int dwc2_driver_remove(struct platform_device *dev) > static const struct of_device_id dwc2_of_match_table[] = { > { .compatible = "brcm,bcm2835-usb", .data = ¶ms_bcm2835 }, > { .compatible = "snps,dwc2", .data = NULL }, > + { .compatible = "samsung,s3c6400-hsotg", .data = NULL}, > {}, > }; > MODULE_DEVICE_TABLE(of, dwc2_of_match_table); > This patch also causes problems. It breaks dwc2 gadget mode at Samsung platforms. Best regards, Robert Baldyga. -- 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