USB: musb_gadget: fix kernel oops in txstate()
commit95962a773ca5c1e52305fd1003d3bda59abbf371
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Wed, 16 Dec 2009 17:38:31 +0000 (16 20:38 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Dec 2009 19:34:12 +0000 (23 11:34 -0800)
tree02f1586201f90f359f74f26b2bdccf51ca77fb9e
parent4e092d110fe931db3878865db185be1c9df3e182
USB: musb_gadget: fix kernel oops in txstate()

Commit 7723de7e19b744144975a09c81777ec0f14ac5b3 (USB: musb_gadget: remove
pointless loop) included uncalled for (and incorrect) optimization that
might cause a kernel oops in txstate() -- undo it.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_gadget.c