From: Ming Lei Date: Mon, 20 Sep 2010 07:32:06 +0000 (+0300) Subject: usb: musb: gadget: fix dma length in txstate X-Git-Tag: v2.6.36-rc6~37^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66af83ddf7b5a4ea94e79cbeadaa0aeed4def5f7;p=pandora-kernel.git usb: musb: gadget: fix dma length in txstate DMA length should not go beyond the availabe space of request buffer, so fix it. Also set max_len of cppi dma channel as max size of int type, so make musb dma handling happier. Signed-off-by: Ming Lei Cc: David Brownell Cc: Anand Gadiyar Cc: Mike Frysinger Cc: Sergei Shtylyov Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed