Messages in this thread | | | Date | Mon, 13 Sep 2010 22:34:08 +0800 | Subject | Re: [RESEND/PATCH 5/6] USB: musb-gadget: complete request only if data is transfered over | From | Ming Lei <> |
| |
2010/9/13 Sergei Shtylyov <sshtylyov@mvista.com>: > But why not modify the conditional above all that code, just excluding > 'is_dma' from it. This conditional already includes (request->actual == > request->length) check. Please recast this patch.
The two condition is OR relation, not and, so we can't exclude 'is_dma' simply. Anyway, the change is not wrong, right?
thanks, -- Lei Ming -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |