[PATCH] USB : Gadget : fsl: Fix the fault issue on rmmod

2014-04-02 Thread Suresh Gupta
completion in udc_controller->done should be assign with proper value before complete called. The complete called in fsl_udc_release which intern called from usb_del_gadget_udc, so moving assignment before calling usb_del_gadget_udc Signed-off-by: Suresh Gupta --- drivers/usb/gad

[PATCH v3] USB: Gadget: fsl driver pullup fix

2014-03-20 Thread Suresh Gupta
This fix the fsl usb gadget driver in a way that the usb device will be only "pulled up" on requests only when vbus is powered Signed-off-by: Suresh Gupta --- Changes from previous version: * fixed checkpatch error drivers/usb/gadget/fsl_udc_core.c | 4 1 file changed, 4

[PATCH v2] usb: gadget: fsl: Set dma_ops for FSL USB Gadget Device

2014-03-20 Thread Suresh Gupta
From: Suresh Gupta DMA mapping functions are moved to common place in udc_core.c which expect the DMA operation of gadget device Signed-off-by: Suresh Gupta --- Changes from previous version: * Added description drivers/usb/gadget/fsl_udc_core.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v2] USB: Gadget: fsl driver pullup fix

2014-03-20 Thread Suresh Gupta
This fix the fsl usb gadget driver in a way that the usb device will be only "pulled up" on requests only when vbus is powered Signed-off-by: Suresh Gupta --- Changes from previous version: * Removed re-factored code, Will send another patch for re-factoring duplicated code

[PATCH] usb: gadget: fsl: Set dma_ops for FSL USB Gadget Device

2014-03-13 Thread Suresh Gupta
From: Suresh Gupta Signed-off-by: Suresh Gupta --- drivers/usb/gadget/fsl_udc_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c index 35b20e6..2a43d9d 100644 --- a/drivers/usb/gadget/fsl_udc_core.c +++ b/drivers

[PATCH] usb: gadget: fsl: Add FSL USB Gadget entry in platform device id

2014-03-13 Thread Suresh Gupta
From: Suresh Gupta Add FSL USB Gadget entry in platform device id table Signed-off-by: Suresh Gupta --- drivers/usb/gadget/fsl_udc_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c index b7dea4e..35b20e6

[PATCH] USB : Gadget: fsl: add information message

2014-03-13 Thread Suresh Gupta
Message helps to understand that the Freescale Gadget driver is up without any error. Signed-off-by: Suresh Gupta --- drivers/usb/gadget/fsl_udc_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c

[PATCH] USB: Gadget: fsl driver pullup fix

2014-03-13 Thread Suresh Gupta
ning which provides this datas. Signed-off-by: Stefani Seibold Signed-off-by: Suresh Gupta --- drivers/usb/gadget/fsl_udc_core.c | 38 +- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_