[v1,2/5] reset: Add devm_reset_control_array_get_exclusive_released()
diff mbox series

Message ID 20210302112123.24161-3-digetx@gmail.com
State New, archived
Headers show
Series
  • Add missing reset controls to NVIDIA Tegra ASoC drivers
Related show

Commit Message

Dmitry Osipenko March 2, 2021, 11:21 a.m. UTC
Add devm_reset_control_array_get_exclusive_released() which is wanted by
NVIDIA Tegra drivers.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
 include/linux/reset.h | 6 ++++++
 1 file changed, 6 insertions(+)

Patch
diff mbox series

diff --git a/include/linux/reset.h b/include/linux/reset.h
index 3bee086f1f06..ab240a8648ee 100644
--- a/include/linux/reset.h
+++ b/include/linux/reset.h
@@ -534,6 +534,12 @@  devm_reset_control_array_get_optional_shared(struct device *dev)
 	return devm_reset_control_array_get(dev, true, true, true);
 }
 
+static inline struct reset_control *
+devm_reset_control_array_get_exclusive_released(struct device *dev)
+{
+	return devm_reset_control_array_get(dev, false, false, false);
+}
+
 static inline struct reset_control *
 of_reset_control_array_get_exclusive(struct device_node *node)
 {