diff options
author | Davide Ciminaghi <[email protected]> | 2012-10-16 15:56:59 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2012-10-17 16:52:02 +0900 |
commit | 0d4529c534c1c664f25088eb5f5b4d7ce0ee2510 (patch) | |
tree | 5b080ef0a319b90fbcb0ab4eb768aae54851915e /tools/perf/util/trace-event-scripting.c | |
parent | ddffeb8c4d0331609ef2581d84de4d763607bd37 (diff) |
regmap: make lock/unlock functions customizable
It is sometimes convenient for a regmap user to override the standard
regmap lock/unlock functions with custom functions.
For instance this can be useful in case an already existing spinlock
or mutex has to be used for locking a set of registers instead of the
internal regmap spinlock/mutex.
Note that the fast_io field of struct regmap_bus is ignored in case
custom locking functions are used.
Signed-off-by: Davide Ciminaghi <[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