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: Fix reading of touchpad init response. #41

Merged
merged 1 commit into from
Jul 24, 2017

Conversation

roadrunner2
Copy link
Contributor

This wasn't actually causing any issues AFAICT, since we currently don't look at the response, but nevertheless I figure it doesn't hurt.

A delay is needed after deasserting cs and before reading the response,
otherwise the response may contain leading garbage bytes (typically 3).

I only saw this issue when the gpe17 interrupt (from the EC) was
triggering like crazy, something that is often but not always the case.
@cb22
Copy link
Owner

cb22 commented Jul 24, 2017

Good catch. We probably should start looking at the response. I believe you said you made some good headway in decoding the packet format properly?

@cb22 cb22 merged commit 14489fe into cb22:master Jul 24, 2017
@roadrunner2 roadrunner2 deleted the touchpad-init-fix branch August 1, 2017 08:32
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