diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2022-05-17 12:47:08 +0200 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2022-06-07 18:25:14 +0200 |
commit | 18c7deca2b812537aa4d928900e208710f1300aa (patch) | |
tree | 9dc5aa4dd1a05789b3131804ff636a1e09c663b3 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | f2906aa863381afb0015a9eb7fefad885d4e5a56 (diff) |
soc: mediatek: pwrap: Use readx_poll_timeout() instead of custom function
Function pwrap_wait_for_state() is a function that polls an address
through a helper function, but this is the very same operation that
the readx_poll_timeout macro means to do.
Convert all instances of calling pwrap_wait_for_state() to instead
use the read_poll_timeout macro.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Tested-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20220517104712.24579-2-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions