USB: gadget: ci13xxx: don't assume that PAGE_SIZE is 4096
authorArtem Leonenko <tikkeri@gmail.com>
Wed, 15 Dec 2010 07:47:06 +0000 (23:47 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Dec 2010 21:32:37 +0000 (13:32 -0800)
commit0a313c4d2435ed0d86cf2295514f02de34cecd88
tree243bf1a49156fa98b1ddeb78d8780af1848e7c3f
parent7c25a82684364da44643cbe3bdbd0f8835293767
USB: gadget: ci13xxx: don't assume that PAGE_SIZE is 4096

Page size for transaction descriptors for CI13XXX has nothing
common with page size from MM. Using platform and configuration
specific PAGE_SIZE is wrong.

Signed-off-by: Artem Leonenko <tikkeri@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/ci13xxx_udc.c
drivers/usb/gadget/ci13xxx_udc.h