diff options
| author | Marek Vasut <[email protected]> | 2018-05-22 12:24:20 +0000 |
|---|---|---|
| committer | Lorenzo Pieralisi <[email protected]> | 2018-05-24 17:00:44 +0000 |
| commit | 0353ff29b3881a8d9df65ce08a01e636868c1ef2 (patch) | |
| tree | b6a5511d3bf0144a31371d9f8f183e5ee4700d03 /drivers/pci/controller/pci-host-common.c | |
| parent | PCI: rcar: Reuse generic pci_parse_request_of_pci_ranges() function (diff) | |
| download | kernel-0353ff29b3881a8d9df65ce08a01e636868c1ef2.tar.gz kernel-0353ff29b3881a8d9df65ce08a01e636868c1ef2.zip | |
PCI: rcar: Poll more often in rcar_pcie_wait_for_dl()
The data link active signal usually takes ~20 uSec to be asserted, poll
the bit more often to avoid useless delays in this function.
Use udelay() instead of usleep() for such a small delay as suggested by
the timer documentation.
Signed-off-by: Marek Vasut <[email protected]>
[[email protected]: updated commit log]
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Phil Edworthy <[email protected]>
Cc: Simon Horman <[email protected]>
Cc: Wolfram Sang <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
