commit | 46034dca515bc4ddca0399ae58106d1f5f0d809f | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | Wed Nov 18 22:54:32 2009 +0300 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Dec 11 11:55:25 2009 -0800 |
tree | ea4a13b7f5ce2099470ed0d888cabf5cde0004f4 | |
parent | 47e9760529a9823be59d879f726acdc7e2fcbe11 [diff] |
USB: musb_gadget_ep0: stop abusing musb_gadget_set_halt() Stop playing with musb->lock and abusing musb_gadget_set_halt() in the code clearing the endpoint halt feature -- instead, manipulate the registers directly. While at it, get rid uf unneeded line breaks and over-indentation in the code setting the endpoint halt feature. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>