aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorSergio Paracuellos <[email protected]>2021-05-05 14:17:31 +0200
committerGreg Kroah-Hartman <[email protected]>2021-05-10 11:19:40 +0200
commit4ab4ca2015eaeb16bbc6f2d8bd11384e2e52abd5 (patch)
tree6c0954583ed6fa843ad52a0562110d59a90961c3 /tools/perf/scripts
parent726eb31628d484b86ecd17eb6404be2f6b7b420a (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')
0 files changed, 0 insertions, 0 deletions