[PATCH v1 2/5] reset: Add devm_reset_control_array_get_exclusive_released()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add devm_reset_control_array_get_exclusive_released() which is wanted by
NVIDIA Tegra drivers.

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

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)
 {
-- 
2.29.2




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux