summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>2022-02-08 13:21:09 +0100
committerJiri Kosina <jkosina@suse.cz>2022-02-14 16:28:51 +0100
commitaa0b724a2bf041036e56cbb3b4b3afde7c5e7c9e (patch)
tree8ae03d7be2678b71965998922d76f4cd13a377fa
parentHID: amd_sfh: Handle amd_sfh work buffer in PM ops (diff)
downloadlinux-aa0b724a2bf041036e56cbb3b4b3afde7c5e7c9e.tar.xz
linux-aa0b724a2bf041036e56cbb3b4b3afde7c5e7c9e.zip
HID: amd_sfh: Correct the structure field name
Misinterpreted intr_enable field name. Hence correct the structure field name accordingly to reflect the functionality. Fixes: f264481ad614 ("HID: amd_sfh: Extend driver capabilities for multi-generation support") Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/amd-sfh-hid/amd_sfh_pcie.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/amd-sfh-hid/amd_sfh_pcie.h b/drivers/hid/amd-sfh-hid/amd_sfh_pcie.h
index ae30e059f847..8a9c544c27ae 100644
--- a/drivers/hid/amd-sfh-hid/amd_sfh_pcie.h
+++ b/drivers/hid/amd-sfh-hid/amd_sfh_pcie.h
@@ -49,7 +49,7 @@ union sfh_cmd_base {
} s;
struct {
u32 cmd_id : 4;
- u32 intr_enable : 1;
+ u32 intr_disable : 1;
u32 rsvd1 : 3;
u32 length : 7;
u32 mem_type : 1;