[PATCH 3/8][v2]usb:fsl:otg: Add support to add/remove usb host driver

2015-08-13 Thread Ramneek Mehresh
Add workqueue to add/remove host driver (outside interrupt context) upon each id change. Signed-off-by: Li Yang le...@freescale.com Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com --- drivers/usb/host/ehci-fsl.c | 83 ++---

Re: [PATCH 3/8][v2]usb:fsl:otg: Add support to add/remove usb host driver

2015-08-10 Thread Felipe Balbi
On Fri, Aug 07, 2015 at 04:33:33PM -0400, Alan Stern wrote: On Wed, 15 Jul 2015, Ramneek Mehresh wrote: Add workqueue to add/remove host driver (outside interrupt context) upon each id change. Signed-off-by: Li Yang le...@freescale.com Signed-off-by: Ramneek Mehresh

RE: [PATCH 3/8][v2]usb:fsl:otg: Add support to add/remove usb host driver

2015-08-10 Thread Ramneek Mehresh
][v2]usb:fsl:otg: Add support to add/remove usb host driver On Mon, 10 Aug 2015, Ramneek Mehresh wrote: Also, what is the reason for calling usb_hcd_resume_root_hub()? It won't do anything, because it will run before the scheduled work, so there won't be a root hub for it to resume

Re: [PATCH 3/8][v2]usb:fsl:otg: Add support to add/remove usb host driver

2015-08-10 Thread Fabio Estevam
On Mon, Aug 10, 2015 at 12:35 PM, Ramneek Mehresh ramneek.mehr...@freescale.com wrote: Understood...let me check this once again. Thanks. Why don't use the chipidea driver instead? -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to

RE: [PATCH 3/8][v2]usb:fsl:otg: Add support to add/remove usb host driver

2015-08-10 Thread Alan Stern
On Mon, 10 Aug 2015, Ramneek Mehresh wrote: Also, what is the reason for calling usb_hcd_resume_root_hub()? It won't do anything, because it will run before the scheduled work, so there won't be a root hub for it to resume. Well, you're right...it's not a surety that

RE: [PATCH 3/8][v2]usb:fsl:otg: Add support to add/remove usb host driver

2015-08-10 Thread Ramneek Mehresh
/8][v2]usb:fsl:otg: Add support to add/remove usb host driver On Wed, 15 Jul 2015, Ramneek Mehresh wrote: Add workqueue to add/remove host driver (outside interrupt context) upon each id change. Signed-off-by: Li Yang le...@freescale.com Signed-off-by: Ramneek Mehresh ramneek.mehr

Re: [PATCH 3/8][v2]usb:fsl:otg: Add support to add/remove usb host driver

2015-08-07 Thread Alan Stern
On Wed, 15 Jul 2015, Ramneek Mehresh wrote: Add workqueue to add/remove host driver (outside interrupt context) upon each id change. Signed-off-by: Li Yang le...@freescale.com Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com --- drivers/usb/host/ehci-fsl.c | 83

[PATCH 3/8][v2]usb:fsl:otg: Add support to add/remove usb host driver

2015-07-15 Thread Ramneek Mehresh
Add workqueue to add/remove host driver (outside interrupt context) upon each id change. Signed-off-by: Li Yang le...@freescale.com Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com --- drivers/usb/host/ehci-fsl.c | 83 ++---