Re: [PATCH] usb: udc-core: fix asymmetric calls in remove_driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 21, 2012 at 09:34:30PM +0530, Kishon Vijay Abraham I wrote:
> During modprobe of gadget driver, pullup(RUN) is called after udc_start. To
> follow symmetry while removing gadget driver, pullup(STOP) is called before
> udc_stop.
> 
> This is needed for aggressive PM where udc_stop disables the module completely.
> With aggressive PM, the module is completely disabled, clocks are cut during
> udc_stop. Calling disconnect after udc_stop necessiates clocks to be enabled
> again.
> 
> Cc: Felipe Balbi <balbi@xxxxxx>
> Signed-off-by: Partha Basak <p-basak2@xxxxxx>
> Signed-off-by: Kishon Vijay Abraham I <kishon@xxxxxx>
> ---
> Tested modprobe g_zero and rmmod g_zero with 4430SDP (musb) to test for any
> regression.

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read Documentation/stable_kernel_rules.txt
for how to do this properly.

</formletter>
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux