From: Sergei Shtylyov Date: Wed, 18 Nov 2009 19:54:32 +0000 (+0300) Subject: USB: musb_gadget_ep0: stop abusing musb_gadget_set_halt() X-Git-Tag: v2.6.33-rc1~315^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46034dca515bc4ddca0399ae58106d1f5f0d809f;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed