diff options
| author | Yoshihiro Shimoda <[email protected]> | 2017-07-18 12:26:42 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2017-07-18 13:20:31 +0000 |
| commit | 781001ff9678e5df048cca3d4290c1638a28cafa (patch) | |
| tree | 1b86a7b0e8e378faf5d3fdc17fc1caa356a825dd /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | usb: gadget: udc: renesas_usb3: fix zlp transfer by the dmac (diff) | |
| download | kernel-781001ff9678e5df048cca3d4290c1638a28cafa.tar.gz kernel-781001ff9678e5df048cca3d4290c1638a28cafa.zip | |
usb: gadget: udc: renesas_usb3: protect usb3_ep->started in usb3_start_pipen()
This patch fixes an issue that unexpected behavior happens when
both the interrupt handler and renesas_usb3_ep_enable() are called.
In this case, since usb3_start_pipen() checked the usb3_ep->started,
but the flags was not protected. So, this patch protects the flag
by usb3->lock. Since renesas_usb3_ep_enable() for EP0 will be not called,
this patch doesn't take care of usb3_start_pipe0().
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
