usb: musb: fix order of conditions for assigning end point operations
authorBen Hutchings <ben@decadent.org.uk>
Sun, 24 May 2015 03:27:32 +0000 (04:27 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 26 May 2015 15:15:10 +0000 (10:15 -0500)
commitda96cfc133350024ba68ef3289faeb539ee13872
tree0faffb0f0b60d9eee27d5b511408cfc13b7a9914
parentca4de53c522f261e84efb659a07435bd1a5a8828
usb: musb: fix order of conditions for assigning end point operations

Currently we always assign one of the two common implementations of
ep_offset and ep_select operations, overwriting any platform-specific
implementations.

Fixes: d026e9c76aac ("usb: musb: Change end point selection to use ...")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c