diff options
| author | Thierry Reding <treding@nvidia.com> | 2019-12-06 15:06:46 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-10 11:36:26 +0100 |
| commit | ec12ac10c9a7e2f1edf15c488e54f4c813cf0f52 (patch) | |
| tree | 23a4e046d009ae337512f4bf9b2335a832613813 /include/linux/blkdev.h | |
| parent | 741d6e5d84f30266694ca23641f1d028b55f7f40 (diff) | |
| download | cachepc-linux-ec12ac10c9a7e2f1edf15c488e54f4c813cf0f52.tar.gz cachepc-linux-ec12ac10c9a7e2f1edf15c488e54f4c813cf0f52.zip | |
usb: host: xhci-tegra: Avoid a fixed duration sleep
Do not use a fixed duration sleep to wait for the DMA controller to
become ready. Instead, poll the L2IMEMOP_RESULT register for the VLD
flag to determine when the XUSB controller's DMA master is ready.
Based on work by JC Kuo <jckuo@nvidia.com>.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20191206140653.2085561-4-thierry.reding@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions
