Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

reset: Add devm_reset_control_array_get_exclusive_released()

Add the released variant of devm_reset_control_array_get_exclusive().
Needed by spi-smt32-ospi driver as same reset line is ulso used by
stm32-omm driver.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20250411-b4-upstream_ospi_reset_update-v2-1-4de7f5dd2a91@foss.st.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Patrice Chotard and committed by
Philipp Zabel
6b375400 4a653263

+6
+6
include/linux/reset.h
··· 1005 1005 } 1006 1006 1007 1007 static inline struct reset_control * 1008 + devm_reset_control_array_get_exclusive_released(struct device *dev) 1009 + { 1010 + return devm_reset_control_array_get(dev, RESET_CONTROL_EXCLUSIVE_RELEASED); 1011 + } 1012 + 1013 + static inline struct reset_control * 1008 1014 devm_reset_control_array_get_shared(struct device *dev) 1009 1015 { 1010 1016 return devm_reset_control_array_get(dev, RESET_CONTROL_SHARED);