Re: [PATCH] usb: gadget: s3c-hsotg: fix phy disable sequence

2014-05-14 Thread Kishon Vijay Abraham I
bski; Linux USB Mailing List; r.bald...@samsung.com >> Subject: Re: [PATCH] usb: gadget: s3c-hsotg: fix phy disable sequence >> >> Hi, >> >> >> On Tue, May 13, 2014 at 12:30 PM, Marek Szyprowski >> wrote: >>> Hello, >>> >>&

RE: [PATCH] usb: gadget: s3c-hsotg: fix phy disable sequence

2014-05-14 Thread Kamil Debski
Hi Vivek, Kishon, > From: gautamvivek1...@gmail.com [mailto:gautamvivek1...@gmail.com] On > Behalf Of Vivek Gautam > Sent: Tuesday, May 13, 2014 12:08 PM > To: Marek Szyprowski > Cc: Kamil Debski; Linux USB Mailing List; r.bald...@samsung.com > Subject: Re: [PATCH] usb: gadget:

Re: [PATCH] usb: gadget: s3c-hsotg: fix phy disable sequence

2014-05-13 Thread Vivek Gautam
Hi, On Tue, May 13, 2014 at 12:30 PM, Marek Szyprowski wrote: > Hello, > > > On 2014-05-13 08:21, Vivek Gautam wrote: >> >> On Mon, May 12, 2014 at 10:19 PM, Kamil Debski >> wrote: >> > When the driver is removed s3c_hsotg_phy_disable is called three times >> > instead of once. This results in

Re: [PATCH] usb: gadget: s3c-hsotg: fix phy disable sequence

2014-05-13 Thread Marek Szyprowski
Hello, On 2014-05-13 08:21, Vivek Gautam wrote: On Mon, May 12, 2014 at 10:19 PM, Kamil Debski wrote: > When the driver is removed s3c_hsotg_phy_disable is called three times > instead of once. This results in decreasing of the phy reference counter > below zero and thus consecutive inserts of

Re: [PATCH] usb: gadget: s3c-hsotg: fix phy disable sequence

2014-05-12 Thread Vivek Gautam
Hi, On Mon, May 12, 2014 at 10:19 PM, Kamil Debski wrote: > When the driver is removed s3c_hsotg_phy_disable is called three times > instead of once. This results in decreasing of the phy reference counter > below zero and thus consecutive inserts of the module fails. > > This patch removes call

[PATCH] usb: gadget: s3c-hsotg: fix phy disable sequence

2014-05-12 Thread Kamil Debski
When the driver is removed s3c_hsotg_phy_disable is called three times instead of once. This results in decreasing of the phy reference counter below zero and thus consecutive inserts of the module fails. This patch removes calls to s3c_hsotg_phy_disable from s3c_hsotg_remove and s3c_hsotg_udc_sto