[Bug 238037] [PATCH] Implement ig4 suspend/resume
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 18 14:14:18 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238037
Austin Shafer <ashafer at badland.io> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #205573|0 |1
is obsolete| |
--- Comment #18 from Austin Shafer <ashafer at badland.io> ---
Created attachment 205867
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205867&action=edit
ig4 suspend/resume latest patch [needs testing]
Thanks for catching this, I made an updated diff that I hope fixes the issue.
Please let me know if I made any mistakes. A couple things were changed:
* cleaned things up by using reg_write/reg_read. These were moved into
ig4_var.h.
* also moved set_controller to ig4_var.h to avoid duplicating its code.
* disabled controller, and made sure IG4_REG_I2C_EN is the last register to be
restored
If all goes well I should be getting my hands on another laptop with an i2c
trackpad in the next few days. Then I should finally be able to test things
myself.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list