J.R. Oldroyd 5236888db7 iichid(4): disable interrupt on suspend
Commit message of the identical change in Linux driver says:
"When an I2C HID device is powered off during system sleep, as a result
of removing its power resources (by the ACPI core) the interrupt line
might go low as well.  This results inadvertent interrupts."

This change fixes suspend/resume on Asus S510UQ laptops.

While here add a couple of typo fixes as well as a slight change to the
iichid_attach() code to have the power_on flag set properly.

Submitted by:	J.R. Oldroyd <jr_AT_opal_DOT_com>
Reviewed by:	wulf
MFC after:	1 week
2021-05-31 22:33:07 +03:00
..
2020-05-25 15:31:43 +00:00
2020-12-04 15:09:42 +00:00
2020-03-06 21:32:42 +00:00
2020-03-06 21:24:09 +00:00
2020-03-06 21:26:35 +00:00
2019-12-20 03:40:50 +00:00
2020-01-02 17:51:49 +00:00
2020-01-02 17:51:49 +00:00