https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238037

Austin Shafer <asha...@badland.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #205573|0                           |1
        is obsolete|                            |

--- Comment #18 from Austin Shafer <asha...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to