Dirk Behme b3cbcd902d 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>
2017-11-26 02:22:36 +01:00
..
2017-06-01 07:03:01 -06:00
2017-06-01 07:03:01 -06:00
2016-04-01 17:18:10 -04:00
2016-04-01 17:18:10 -04:00
2017-06-01 07:03:01 -06:00
2017-06-01 07:03:01 -06:00
2016-10-23 18:33:18 -04:00
2017-07-03 17:35:28 -04:00
2017-06-01 07:03:01 -06:00
2017-06-01 07:03:01 -06:00
2017-11-16 11:45:20 +01:00
2017-10-01 16:32:54 +02:00