Skip to content

Conversation

@danieldegrasse
Copy link
Contributor

SD IOCTL handling for DISK_IOCTL_CTRL_SYNC was falling through to the default return statement, and returning an error when disk sync succeeded. Fix this issue by properly breaking in IOCTL handler.

SD IOCTL handling for DISK_IOCTL_CTRL_SYNC was falling through to the
default return statement, and returning an error when disk sync
succeeded. Fix this issue by properly breaking in IOCTL handler.

Signed-off-by: Daniel DeGrasse <[email protected]>
@danieldegrasse danieldegrasse added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label May 28, 2024
@zephyrbot zephyrbot requested review from decsny and jfischer-no May 28, 2024 16:40
@bperseghetti
Copy link
Member

Does seem odd that this wasn't showing up on any of the tests but our super simple write to SD application always had this issue.

@danieldegrasse
Copy link
Contributor Author

Does seem odd that this wasn't showing up on any of the tests but our super simple write to SD application always had this issue.

Agree, the changes in #73437 should make sure this is exposed in the future

@henrikbrixandersen henrikbrixandersen merged commit 0767fd9 into zephyrproject-rtos:main May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Disk Access Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants