-
Notifications
You must be signed in to change notification settings - Fork 2.1k
drivers/sdmmc_sdhc: add timeout to wait for ISR mutex unlock #21432
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
base: master
Are you sure you want to change the base?
Conversation
#define _ZTIMER_CLOCK ZTIMER_MSEC | ||
#define _ZTIMER_TICKS_PER_MS 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#define _ZTIMER_CLOCK ZTIMER_MSEC | |
#define _ZTIMER_TICKS_PER_MS 1 | |
# define _ZTIMER_CLOCK ZTIMER_MSEC | |
# define _ZTIMER_TICKS_PER_MS 1 |
#define _ZTIMER_CLOCK ZTIMER_USEC | ||
#define _ZTIMER_TICKS_PER_MS US_PER_MS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#define _ZTIMER_CLOCK ZTIMER_USEC | |
#define _ZTIMER_TICKS_PER_MS US_PER_MS | |
# define _ZTIMER_CLOCK ZTIMER_USEC | |
# define _ZTIMER_TICKS_PER_MS US_PER_MS |
I'm not sure if it makes sense to partially apply the indentation style now?
OR you could use the opportunity to apply it to the other #if-#else statements as well.
Ping @maribu?
One small thing: The title and commit message should have a slash instead of colon. So |
48b1ae9
to
7ffe014
Compare
Contribution description
I witnessed situations where the sdmmc driver stalls while waiting for an IRQ.
It might be hardware though ...
However even if it is hardware, it keeps going with this changes in this PR.
Testing procedure
Internal app where data is written to an eMMC and I keep pressing ENTER to continuously execute
vfs ls
.Without the change it was stalling. With this change it keeps working afterwards.
Issues/PRs references