]> git.ipfire.org Git - people/ms/u-boot.git/commit - drivers/usb/host/ohci-hcd.c
ohci: Add missing cache-flush for hcca area
authorHans de Goede <hdegoede@redhat.com>
Tue, 20 Oct 2015 16:39:29 +0000 (18:39 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 3 Nov 2015 16:29:33 +0000 (17:29 +0100)
commitb748b24fb504b4da630c6464d6704ae7758f3732
tree54f5f361286050aeac6129559ad353f16944a27b
parentf5fb78a2748af0d532110cc4f03912b6b30f8761
ohci: Add missing cache-flush for hcca area

We need to cache-flush the hcca area after the initial memset, otherwise
on the first hc_interrupt we might see an old $random value as done_head and
try to interpret that as the address for a completed td (followed by chaos).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/usb/host/ohci-hcd.c