]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: cdns3: ep0: Invalidate cache before reading Setup Packet
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 27 Jan 2020 12:25:54 +0000 (17:55 +0530)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 2 Feb 2020 17:19:52 +0000 (18:19 +0100)
commitbf16a7be90d5732279c454c10be1686ed79610be
tree14fb6c529b71c26758767c4f62d2a7de0d925d54
parent80e99adbe47d1c8590f9b971ac52257fdc51a5ec
usb: cdns3: ep0: Invalidate cache before reading Setup Packet

Invalidate dcache line before accessing Setup Packet contents. Otherwise
driver will see stale content on non coherent architecture.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/usb/cdns3/ep0.c