diff options
author | Ming Lei <tom.leiming@gmail.com> | 2010-09-20 10:32:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-24 11:05:01 -0700 |
commit | 66af83ddf7b5a4ea94e79cbeadaa0aeed4def5f7 (patch) | |
tree | 06cc6046c4db50bc9dd1b165e9c02095bc12d57f /drivers/serial/sn_console.c | |
parent | bb27bc2c1133372b54d00f3077ea4acbbf459045 (diff) |
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 <tom.leiming@gmail.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Anand Gadiyar <gadiyar@ti.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial/sn_console.c')
0 files changed, 0 insertions, 0 deletions