]> git.sur5r.net Git - u-boot/commit
USB: make usb_kbd obey USB DMA alignment requirements
authorAllen Martin <amartin@nvidia.com>
Wed, 24 Oct 2012 08:32:04 +0000 (08:32 +0000)
committerMarek Vasut <marex@denx.de>
Mon, 19 Nov 2012 23:16:05 +0000 (00:16 +0100)
commitd7475386bb75ec4e49be66d83775edb043dbfb43
tree5f2f6888d5aec547ec5639061336067d1ca0d7ef
parentc11ace6b7bcfef535198b607e43adea65c8ce7dd
USB: make usb_kbd obey USB DMA alignment requirements

Change usb_kbd driver to obey alignment requirements for USB DMA on
the buffer used for data transfer.  This is necessary for
architectures that enable dcache and enable USB DMA.

Signed-off-by: Allen Martin <amartin@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
common/usb_kbd.c