diff options
| author | Patrice Chotard <[email protected]> | 2025-06-09 15:05:04 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-06-09 15:21:29 +0000 |
| commit | cf2c3eceb757e3f28e6f1034f9bc178e1535f5cc (patch) | |
| tree | d88ca52ad6264c07b485253165df8a7a94042dd9 /lib/crypto/mpi/mpi-mul.c | |
| parent | spi: offload: check offload ops existence before disabling the trigger (diff) | |
| download | kernel-cf2c3eceb757e3f28e6f1034f9bc178e1535f5cc.tar.gz kernel-cf2c3eceb757e3f28e6f1034f9bc178e1535f5cc.zip | |
spi: stm32-ospi: Make usage of reset_control_acquire/release() API
As ospi reset is consumed by both OMM and OSPI drivers, use the reset
acquire/release mechanism which ensure exclusive reset usage.
This avoid to call reset_control_get/put() in OMM driver each time
we need to reset OSPI children and guarantee the reset line stays
deasserted.
During resume, OMM driver takes temporarily control of reset.
Fixes: 79b8a705e26c ("spi: stm32: Add OSPI driver")
Signed-off-by: Patrice Chotard <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Link: https://patch.msgid.link/20250609-b4-upstream_ospi_reset_update-v6-1-5b602b567e8a@foss.st.com
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
