Home
last modified time | relevance | path

Searched hist:"8 f761f023c1b53ff3469f4da9d9516ce3d4c7d89" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/host/
H A Dohci-hcd.c8f761f023c1b53ff3469f4da9d9516ce3d4c7d89 Sun May 10 12:10:24 UTC 2015 Hans de Goede <hdegoede@redhat.com> usb: ohci: Skip unnecessary mdelay(1) calls in various places

For some reason the ohci code is full with:

#ifdef DEBUG
pkt_print(...)
#else
mdelay(1);
#endif

AFAICT there is no reason for the mdelay(1) calls. This commit disables them
when building the ohci code for new driver-model using boards. It leaves
the mdelay(1) calls in place when building for older boards, so as to avoid
causing any regressions there.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>