commit | 78c7356bc1b59b44993350225efb43cadaab0c57 | [log] [tgz] |
---|---|---|
author | Dirk Behme <dirk.behme@gmail.com> | Fri Nov 17 15:28:36 2017 +0100 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Sun Nov 26 02:22:36 2017 +0100 |
tree | f0524753a1a56089008956ead3ab38c2cbdbbb25 | |
parent | ab4304b461f37054f6cca3e05e63bb739cd801a2 [diff] |
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>