mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
HID: amd_sfh: Correct the structure fields
[ Upstream commit7e7fdab798] Misinterpreted sfh_cmd_base structure member fields. Therefore, adjust the structure member fields accordingly to reflect functionality. Fixes:93ce5e0231("HID: amd_sfh: Implement SFH1.1 functionality") Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7035d8b73a
commit
269259b7c7
@@ -33,9 +33,9 @@ struct sfh_cmd_base {
|
||||
struct {
|
||||
u32 sensor_id : 4;
|
||||
u32 cmd_id : 4;
|
||||
u32 sub_cmd_id : 6;
|
||||
u32 length : 12;
|
||||
u32 rsvd : 5;
|
||||
u32 sub_cmd_id : 8;
|
||||
u32 sub_cmd_value : 12;
|
||||
u32 rsvd : 3;
|
||||
u32 intr_disable : 1;
|
||||
} cmd;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user