diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-05-10 14:10:24 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-14 18:49:32 -0600 |
commit | 8f761f023c1b53ff3469f4da9d9516ce3d4c7d89 (patch) | |
tree | bfdd4ef175686bc4b11df7d2c792d9aed8a30131 /include/fsl_validate.h | |
parent | 969bb5bad3163204bb07dab385397e8ceab70a53 (diff) |
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>
Diffstat (limited to 'include/fsl_validate.h')
0 files changed, 0 insertions, 0 deletions