u-boot-brain/drivers/usb
Oleksandr Andrushchenko 242587dca4 linux/compat.h: Add wait_event_timeout macro
Add  wait_event_timeout - sleep until a condition gets true or a
timeout elapses.

This is a stripped version of the same from Linux kernel with the
following u-boot specific modifications:
- no wait queues supported
- use u-boot timer to detect timeouts
- check for Ctrl-C pressed during wait

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko@epam.com>
[trini: Drop atomic_read from gadget/ether.c as this has existed for a
        while and now causes problems]
Signed-off-by: Tom Rini <trini@konsulko.com>
2020-08-14 15:18:30 -04:00
..
cdns3 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
common treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
dwc3 treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
emul common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
eth treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
gadget linux/compat.h: Add wait_event_timeout macro 2020-08-14 15:18:30 -04:00
host usb: host: dwc3-sti-glue: Fix ofnode_valid() parameter 2020-08-13 09:19:18 +02:00
musb common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
musb-new xen: Port Xen hypervisor related code from mini-os 2020-08-14 15:18:30 -04:00
phy common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ulpi common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Kconfig kconfig: fix typo for OHCI host and add to DM list 2020-06-02 17:27:04 -04:00