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: Make master-spi-device detection more robust. #39

Merged
merged 1 commit into from
Jul 24, 2017

Conversation

roadrunner2
Copy link
Contributor

This fixes one of the issues folks have seen on their 2015 MB's (see #9).

The previous implementation was assuming that the uid of acpi-device
associated with the spi-master device was the same as the bus-number
of that device. While this was indeed the case on MBP's, at least on
some MB's it isn't.

Instead we now look at the companion acpi-devices of the spi-master
and slave devices, and look for the master that matches the slave's
parent. This should work correctly everywhere.
@cb22 cb22 merged commit b1a3ad0 into cb22:master Jul 24, 2017
@roadrunner2 roadrunner2 deleted the dsdt-workaround-fix branch August 1, 2017 08:33
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.

None yet

2 participants