Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2019 14:14:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 238037] [PATCH] Implement ig4 suspend/resume
Message-ID:  <bug-238037-227-ZpXmPteyU5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238037-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238037-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238037

Austin Shafer <ashafer@badland.io> changed:

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

--- Comment #18 from Austin Shafer <ashafer@badland.io> ---
Created attachment 205867
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D205867&action=
=3Dedit
ig4 suspend/resume latest patch [needs testing]

Thanks for catching this, I made an updated diff that I hope fixes the issu=
e.
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238037-227-ZpXmPteyU5>