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

Fix async USB OTG-FS driver #2742

Merged
merged 9 commits into from
Dec 12, 2024
Merged

Fix async USB OTG-FS driver #2742

merged 9 commits into from
Dec 12, 2024

Conversation

bugadani
Copy link
Contributor

#2544 made a reasonable effort to update USB OTG, but we did not keep the Usb struct alive long enough, so starting the driver ended up dropping it and disabled clocks.

This PR fixes the issue, and applies some drive-by cleanups, as well as aligns init code with esp-usb-synopsys-otg. Changelog entry skipped because the bug was introduced in this cycle.

@bugadani bugadani added the skip-changelog No changelog modification needed label Dec 11, 2024
Copy link
Contributor

@JurajSadel JurajSadel left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

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

LGTM

@bjoernQ bjoernQ added this pull request to the merge queue Dec 12, 2024
Merged via the queue into esp-rs:main with commit cc4e527 Dec 12, 2024
29 checks passed
@bugadani bugadani deleted the usb branch December 12, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No changelog modification needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants