On Sat, Oct 13, 2012 at 07:20:18PM +0530, Vivek Gautam wrote:
> We do usb_phy_init() while doing core_init() in probe,
> so adding usb_phy_shutdown() when we do core_exit()
> while removing the device.
> 
> Signed-off-by: Vivek Gautam <gautam.vi...@samsung.com>

I believe this needs to be sent to stable too for v3.6, right ?

please resend with a proper Cc: sta...@vger.kernel.org # v3.6 tag

> ---
>  drivers/usb/dwc3/core.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
> index b415c0c..c14ebc9 100644
> --- a/drivers/usb/dwc3/core.c
> +++ b/drivers/usb/dwc3/core.c
> @@ -409,6 +409,10 @@ static void dwc3_core_exit(struct dwc3 *dwc)
>  {
>       dwc3_event_buffers_cleanup(dwc);
>       dwc3_free_event_buffers(dwc);
> +
> +     usb_phy_shutdown(dwc->usb2_phy);
> +     usb_phy_shutdown(dwc->usb3_phy);
> +
>  }
>  
>  #define DWC3_ALIGN_MASK              (16 - 1)
> -- 
> 1.7.6.5
> 

-- 
balbi

Attachment: signature.asc
Description: Digital signature

Reply via email to