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

applespi: Introduce delay between cs and receive on reads. #26

Merged
merged 1 commit into from
May 29, 2017

Conversation

roadrunner2
Copy link
Contributor

This fixes issue #22.

On MacBook9,1 this delay appears to be necessary, otherwise the reads
include leading garbage.

There are two unknown items in the settings returned by the _DSM method
in the DSDT. Both specify a value of 10µs, and a delay with that value
solves the above read issues. I'm guessing resetA2R stands for
active-to-receive, and hence picking that one to use here.
@cb22 cb22 merged commit e893622 into cb22:master May 29, 2017
@roadrunner2 roadrunner2 deleted the macbook-spi-read-fix branch May 29, 2017 21:25
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