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

SPI Block maxsize #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

hugolm84
Copy link

@hugolm84 hugolm84 commented Mar 1, 2022

The SPI driver should, if possible, use as large buffer as possible. Currently, only xfer3 is adhering to the requested max blk size specified in /sys/module/spidev/parameters/bufsiz but is sending it in chunks. For all other xfer functions, the block size is limited to 4096.

I believe that xfer3 was introduced to fix this, however, it is still limited to 4096 chunks.

This PR aims to clarify xfer3 behavior and allow for arbitrary xfer buffer size.

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.

1 participant