Re: [PATCH 4/4] usb: atmel_usba_udc: mask status with enabled irqs

2014-12-15 Thread Boris Brezillon
On Mon, 15 Dec 2014 17:22:04 + David Laight wrote: > From: Boris Brezillon > > Hi David, > > > > On Mon, 15 Dec 2014 13:34:56 + > > David Laight wrote: > > > > > From: Sergei Shtylyov > > > > Hello. > > > > > > > > On 12/15/2014 4:03 PM, Boris Brezillon wrote: > > > > > > > > > Avoid i

RE: [PATCH 4/4] usb: atmel_usba_udc: mask status with enabled irqs

2014-12-15 Thread David Laight
From: Boris Brezillon > Hi David, > > On Mon, 15 Dec 2014 13:34:56 + > David Laight wrote: > > > From: Sergei Shtylyov > > > Hello. > > > > > > On 12/15/2014 4:03 PM, Boris Brezillon wrote: > > > > > > > Avoid interpreting useless status flags when we're not waiting for such > > > > events b

Re: [PATCH 4/4] usb: atmel_usba_udc: mask status with enabled irqs

2014-12-15 Thread Boris Brezillon
Hi David, On Mon, 15 Dec 2014 13:34:56 + David Laight wrote: > From: Sergei Shtylyov > > Hello. > > > > On 12/15/2014 4:03 PM, Boris Brezillon wrote: > > > > > Avoid interpreting useless status flags when we're not waiting for such > > > events by masking the status variable with the inter

Re: [PATCH 4/4] usb: atmel_usba_udc: mask status with enabled irqs

2014-12-15 Thread Boris Brezillon
On Mon, 15 Dec 2014 13:34:56 + David Laight wrote: > From: Sergei Shtylyov > > Hello. > > > > On 12/15/2014 4:03 PM, Boris Brezillon wrote: > > > > > Avoid interpreting useless status flags when we're not waiting for such > > > events by masking the status variable with the interrupt enable

RE: [PATCH 4/4] usb: atmel_usba_udc: mask status with enabled irqs

2014-12-15 Thread David Laight
From: Sergei Shtylyov > Hello. > > On 12/15/2014 4:03 PM, Boris Brezillon wrote: > > > Avoid interpreting useless status flags when we're not waiting for such > > events by masking the status variable with the interrupt enabled register > > value. > > > Reported-by: Patrice VILCHEZ > > Signed-o

Re: [PATCH 4/4] usb: atmel_usba_udc: mask status with enabled irqs

2014-12-15 Thread Sergei Shtylyov
Hello. On 12/15/2014 4:03 PM, Boris Brezillon wrote: Avoid interpreting useless status flags when we're not waiting for such events by masking the status variable with the interrupt enabled register value. Reported-by: Patrice VILCHEZ Signed-off-by: Boris Brezillon --- drivers/usb/gadget

[PATCH 4/4] usb: atmel_usba_udc: mask status with enabled irqs

2014-12-15 Thread Boris Brezillon
Avoid interpreting useless status flags when we're not waiting for such events by masking the status variable with the interrupt enabled register value. Reported-by: Patrice VILCHEZ Signed-off-by: Boris Brezillon --- drivers/usb/gadget/udc/atmel_usba_udc.c | 6 +- 1 file changed, 5 insertio