diff options
author | Amjad Ouled-Ameur <aouledameur@baylibre.com> | 2020-11-13 02:00:43 +0300 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2020-11-16 19:05:28 +0300 |
commit | 557acb3d2cd9c82de19f944f6cc967a347735385 (patch) | |
tree | 3109b1a54995d97e6ae021da6cba94c0557e03c8 /drivers/reset/Kconfig | |
parent | 3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff) | |
download | linux-557acb3d2cd9c82de19f944f6cc967a347735385.tar.xz |
reset: make shared pulsed reset controls re-triggerable
The current reset framework API does not allow to release what is done by
reset_control_reset(), IOW decrement triggered_count. Add the new
reset_control_rearm() call to do so.
When reset_control_reset() has been called once, the counter
triggered_count, in the reset framework, is incremented i.e the resource
under the reset is in-use and the reset should not be done again.
reset_control_rearm() would be the way to state that the resource is
no longer used and, that from the caller's perspective, the reset can be
fired again if necessary.
Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com>
Reported-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/Kconfig')
0 files changed, 0 insertions, 0 deletions