diff options
| author | Sergio Paracuellos <[email protected]> | 2021-05-05 14:17:31 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-05-10 11:19:40 +0200 |
| commit | 4ab4ca2015eaeb16bbc6f2d8bd11384e2e52abd5 (patch) | |
| tree | 6c0954583ed6fa843ad52a0562110d59a90961c3 /tools/perf/scripts/python/bin/netdev-times-record | |
| parent | 726eb31628d484b86ecd17eb6404be2f6b7b420a (diff) | |
staging: mt7621-pci: replace mdelay with msleep
There are two mdelay calls in driver code located in
'mt7621_pcie_reset_assert' and 'mt7621_pcie_reset_rc_deassert'
functions. Both of them are not called in an interrupt handler
nor holding any spinlock. Hence, the function mdelay in them
can be replaced with msleep, to reduce busy wait.
Signed-off-by: Sergio Paracuellos <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/netdev-times-record')
0 files changed, 0 insertions, 0 deletions