Re: [PATCH 10/17 v2] USB: mv_udc: add spin_lock in mv_ep_disable

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

 



On Thu, Sep 22, 2011 at 03:03:57PM +0800, Neil Zhang wrote:
> Call spin_lock_irqsave here to disable interrupt temporary.
> Or race condition may occurred.
> 
> Signed-off-by: Neil Zhang <zhangwm@xxxxxxxxxxx>

this can be combined with similar patch which added spin lock on
ep_enable()

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux