USB: musb_gadget_ep0: fix typo in service_zero_data_request()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 17 Jul 2009 14:30:03 +0000 (17:30 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jul 2009 21:31:11 +0000 (14:31 -0700)
commitf01b017d198486ee3553bee6841f788263cf2c23
treef8be465f581a32d3236476bd3480638e218303fb
parent48c348cc939aaa3a07d4938669f2f315152e895e
USB: musb_gadget_ep0: fix typo in service_zero_data_request()

This function uses wrong bit mask to prevent clearing RXCSR status
bits when halting an endpoint -- which results in clearing SentStall
and RxPktRdy bits (that the code actually tries to avoid); must be
a result of cut-and-paste...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_gadget_ep0.c