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

Add --spidev_atomic. #60

Merged
merged 2 commits into from
May 14, 2024
Merged

Add --spidev_atomic. #60

merged 2 commits into from
May 14, 2024

Conversation

cjevans-google
Copy link
Collaborator

Some systems have special-purpose spidev drivers that can only enforce atomicity of the mailbox request if the entire SPI transaction sequence (write followed by read) is given as a single atomic ioctl. Add the --spidev_atomic flag to enable this special-case behavior.

@cjevans-google cjevans-google requested review from korran and rkr35 May 13, 2024 15:16
@cjevans-google cjevans-google force-pushed the spidev-atomic branch 4 times, most recently from ceea0b0 to 81b4f4c Compare May 13, 2024 16:15
libhoth_spi.c Show resolved Hide resolved
libhoth_spi.c Outdated Show resolved Hide resolved
libhoth_spi.c Outdated Show resolved Hide resolved
Some systems have special-purpose spidev drivers that can only enforce
atomicity of the mailbox request if the entire SPI transaction sequence
(write followed by read) is given as a single atomic `ioctl`.  Add the
--spidev_atomic flag to enable this special-case behavior.
Some systems have special-purpose spidev drivers that can only enforce
atomicity of the mailbox request if the entire SPI transaction sequence
(write followed by read) is given as a single atomic `ioctl`.  Add the
--spidev_atomic flag to enable this special-case behavior.
@cjevans-google cjevans-google merged commit d7af323 into main May 14, 2024
4 checks passed
@cjevans-google cjevans-google deleted the spidev-atomic branch May 14, 2024 03:00
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