Skip to content
Commit 9870d895 authored by Boris Brezillon's avatar Boris Brezillon Committed by Felipe Balbi
Browse files

usb: atmel_usba_udc: Mask status with enabled irqs



Avoid interpreting useless status flags when we're not waiting for such
events by masking the status variable with the interrupt enabled register
value.

Acked-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Reported-by: default avatarPatrice VILCHEZ <patrice.vilchez@atmel.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 258e2ddd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment