]> git.dujemihanovic.xyz Git - u-boot.git/commit
dwc3: flush cache only if there is a buffer attached to a request
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 2 Oct 2019 12:19:14 +0000 (14:19 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 31 Oct 2019 11:12:31 +0000 (12:12 +0100)
commitfd15b58c1a9a61edcdeef8ce1eb4df2442295f58
tree5f229061e8f989914271ce5e4c477033b9b1e773
parentd2d8eab42118f8c25e8562495438c903893b83fd
dwc3: flush cache only if there is a buffer attached to a request

Calling cache flush on invalid buffer, even with zero length might cause
an exception on certain platforms.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
drivers/usb/dwc3/gadget.c