Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: spi: stm32: Skip pinctrl suspend/resume for subghzspi #72703

Merged
merged 1 commit into from
May 24, 2024

Conversation

aurel32
Copy link
Collaborator

@aurel32 aurel32 commented May 13, 2024

Subghzspi instances cannot have any pinctrl configs. This causes a failure of the power management suspend and resume operations for the subghzspi instance because no "default" pinctrl is found.

Fix that by skipping the pinctrl parts on subghzspi instances.

At the same time fix a copy and paste in the suspend error message.

Fixes: b567a7d

Subghzspi instances cannot have any pinctrl configs. This causes a
failure of the power management suspend and resume operations for the
subghzspi instance because no "default" pinctrl is found.

Fix that by skipping the pinctrl parts on subghzspi instances.

At the same time fix a copy and paste in the suspend error message.

Fixes: b567a7d

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Copy link
Member

@erwango erwango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks for the fix!

@nashif nashif merged commit 18c73de into zephyrproject-rtos:main May 24, 2024
21 checks passed
@aurel32 aurel32 deleted the stm32-subghzspi-pm branch May 24, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants