diff options
author | Dirk Behme <dirk.behme@gmail.com> | 2017-11-17 17:28:36 +0300 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2017-11-26 04:22:36 +0300 |
commit | b3cbcd902db7019410dfe3729a660abcb1f03ffb (patch) | |
tree | f0524753a1a56089008956ead3ab38c2cbdbbb25 /board/compulab | |
parent | 45157d27644c23493ea1b5a6c9dd67572eb75c8c (diff) | |
download | u-boot-b3cbcd902db7019410dfe3729a660abcb1f03ffb.tar.xz |
usb: ehci: do not invalidate a NULL buffer
Its a valid use case to call ehci_submit_async() with a NULL buffer
with length 0. E.g. from usb_set_configuration().
As invalidate_dcache_range() isn't able to judge if the address
NULL is valid or not (depending on the SoC hardware configuration it
might be valid) do the check in ehci_submit_async() as here we know
that we don't have to invalidate such a buffer.
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Diffstat (limited to 'board/compulab')
0 files changed, 0 insertions, 0 deletions