OSDN Git Service

reset: Add devm_reset_control_get_optional_exclusive_released()
authorDmitry Osipenko <digetx@gmail.com>
Sat, 23 Jan 2021 16:34:45 +0000 (19:34 +0300)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 25 Jan 2021 16:32:10 +0000 (17:32 +0100)
commitd17655759b3fc660ea49bd7be665c193030c77c0
tree90313be1c5d19d349460dc592d3f1bea86d10963
parentac9b7554afeb455a74bd69dc4a8eecf49886ff48
reset: Add devm_reset_control_get_optional_exclusive_released()

NVIDIA Tegra DRM and media drivers will need a resource-managed-optional
variant of reset_control_get_exclusive_released() in order to switch away
from a legacy Tegra-specific PD API to a GENPD API without much hassle.
Add the new reset helper to the reset API.

Tested-by: Peter Geis <pgwipeout@gmail.com> # Ouya T30
Tested-by: Nicolas Chauvet <kwizart@gmail.com> # PAZ00 T20
Tested-by: Matt Merhar <mattmerhar@protonmail.com> # Ouya T30
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
include/linux/reset.h