/[packages]/backports/8/kernel/current/SOURCES/hid-amd_sfh-correct-the-structure-field-name.patch
ViewVC logotype

Contents of /backports/8/kernel/current/SOURCES/hid-amd_sfh-correct-the-structure-field-name.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1781185 - (show annotations) (download)
Fri Feb 18 16:18:16 2022 UTC (2 years, 1 month ago) by tmb
File size: 1088 byte(s)
sync with cauldron 5.16.10-2.mga9
1 From aa0b724a2bf041036e56cbb3b4b3afde7c5e7c9e Mon Sep 17 00:00:00 2001
2 From: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
3 Date: Tue, 8 Feb 2022 17:51:09 +0530
4 Subject: HID: amd_sfh: Correct the structure field name
5
6 From: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
7
8 commit aa0b724a2bf041036e56cbb3b4b3afde7c5e7c9e upstream.
9
10 Misinterpreted intr_enable field name. Hence correct the structure
11 field name accordingly to reflect the functionality.
12
13 Fixes: f264481ad614 ("HID: amd_sfh: Extend driver capabilities for multi-generation support")
14 Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
15 Signed-off-by: Jiri Kosina <jkosina@suse.cz>
16 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17 ---
18 drivers/hid/amd-sfh-hid/amd_sfh_pcie.h | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 --- a/drivers/hid/amd-sfh-hid/amd_sfh_pcie.h
22 +++ b/drivers/hid/amd-sfh-hid/amd_sfh_pcie.h
23 @@ -49,7 +49,7 @@ union sfh_cmd_base {
24 } s;
25 struct {
26 u32 cmd_id : 4;
27 - u32 intr_enable : 1;
28 + u32 intr_disable : 1;
29 u32 rsvd1 : 3;
30 u32 length : 7;
31 u32 mem_type : 1;

  ViewVC Help
Powered by ViewVC 1.1.30