usb:udc:s3c: Reduce dcache invalidate range for UDC receive buffer
authorLukasz Majewski <l.majewski@samsung.com>
Tue, 8 Oct 2013 12:30:37 +0000 (14:30 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 20 Oct 2013 21:42:40 +0000 (23:42 +0200)
commit57ffabe37114fe67f5ffac5805b343e4e1979b57
tree3491fb814c96cbbbb6a9f593587be4000c8986ed
parent98f686c26f99776fafca55dbff6eb24045fa4108
usb:udc:s3c: Reduce dcache invalidate range for UDC receive buffer

The s3c udc driver sends data in a max packet size. Therefore the dcache
invalidate range shall be equal to max packet, not the entire
DMA_BUFFER_SIZE.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
drivers/usb/gadget/s3c_udc_otg_xfer_dma.c