[PATCH v2 0/2] reset: Add devm_reset_control_array_get_exclusive_released()
Patrice Chotard
patrice.chotard at foss.st.com
Fri Apr 11 05:41:09 PDT 2025
Add the released variant of devm_reset_control_array_get_exclusive().
Needed by spi-smt32-ospi driver as same reset line is also used also
by stm32-omm driver.
Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
Changes in v2:
- Rebased on spi/for-next (7a978d8fcf57).
- Remove useless check on reset.
- Add error handling on reset_control_acquire().
- Link to v1: https://lore.kernel.org/all/20250410-b4-upstream_ospi_reset_update-v1-0-74126a8ceb9c@foss.st.com/
---
Patrice Chotard (2):
reset: Add devm_reset_control_array_get_exclusive_released()
spi: stm32-ospi: Make usage of reset_control_acquire/release() API
drivers/spi/spi-stm32-ospi.c | 15 +++++++++------
include/linux/reset.h | 6 ++++++
2 files changed, 15 insertions(+), 6 deletions(-)
---
base-commit: 7a978d8fcf57b283cb8c88dd4c9431502bd36ea8
change-id: 20250411-b4-upstream_ospi_reset_update-596ce245ada1
Best regards,
--
Patrice Chotard <patrice.chotard at foss.st.com>
More information about the linux-arm-kernel
mailing list