Skip to content

Commit

Permalink
HID: amd_sfh: Correct the structure field name
Browse files Browse the repository at this point in the history
commit aa0b724 upstream.

Misinterpreted intr_enable field name. Hence correct the structure
field name accordingly to reflect the functionality.

Fixes: f264481 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Basavaraj Natikar authored and gregkh committed Feb 23, 2022
1 parent 6b75f5c commit 7da6ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hid/amd-sfh-hid/amd_sfh_pcie.h
Expand Up @@ -48,7 +48,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;
Expand Down

0 comments on commit 7da6ba1

Please sign in to comment.