diff options
author | Sameer Pujar <[email protected]> | 2020-01-09 10:39:50 +0530 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-01-09 21:23:36 +0000 |
commit | 50816a4c39263913d8cfd1ee32f90102679606c6 (patch) | |
tree | 1de762d0737040ee4d21fd77c54c2981d785bcad /tools/perf/util/trace-event-scripting.c | |
parent | 14e01b5f335881c435d075797b8b7c64437f9bff (diff) |
regmap: add iopoll-like atomic polling macro
This patch adds a macro 'regmap_read_poll_timeout_atomic' that works
similar to 'readx_poll_timeout_atomic' defined in linux/iopoll.h; This
is atomic version of already available 'regmap_read_poll_timeout' macro.
It should be noted that above atomic macro cannot be used by all regmaps.
If the regmap is set up for atomic use (flat or no cache and MMIO) then
only it can use.
Signed-off-by: Sameer Pujar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions