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

dwcmshc: Fix retuning and signaling bugs #48

Merged
merged 2 commits into from
Jun 22, 2024
Merged

Conversation

mariobalanica
Copy link
Member

No description provided.

This fixes a bug where the driver tries to retune while a sdport-issued
tuning request is already in progress.

Signed-off-by: Mario Bălănică <[email protected]>
SD cards can only be switched back to 3.3V after a power cycle.

The firmware does not currently implement card power control (and some
boards don't even have a switch to begin with), so we need to ensure
that the card is not initialized before being able to safely change
signaling on the host side. This should only happen after the card is
unplugged.

Signed-off-by: Mario Bălănică <[email protected]>
@mariobalanica mariobalanica merged commit d174185 into master Jun 22, 2024
2 checks passed
@mariobalanica mariobalanica deleted the dwcmshc-fixes branch June 22, 2024 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants