]> git.baikalelectronics.ru Git - kernel.git/commit
HID: amd_sfh: Add interrupt handler to process interrupts
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>
Tue, 8 Feb 2022 12:21:12 +0000 (17:51 +0530)
committerJiri Kosina <jkosina@suse.cz>
Mon, 14 Feb 2022 15:28:51 +0000 (16:28 +0100)
commit3500eee1fecdf46f09505671f00acfdda5ab8d9f
treed1c0ade59c611d72bc326c245061e4ae51209b93
parentde3c7004c0b35c01471dd55f1bdbe3f5a7636abc
HID: amd_sfh: Add interrupt handler to process interrupts

On newer AMD platforms with SFH, it is observed that random interrupts
get generated on the SFH hardware and until this is cleared the firmware
sensor processing is stalled, resulting in no data been received to
driver side.

Add routines to handle these interrupts, so that firmware operations are
not stalled.

Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/amd-sfh-hid/amd_sfh_pcie.c
drivers/hid/amd-sfh-hid/amd_sfh_pcie.h