HID: amd_sfh: Update HPD sensor structure elements
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>
Wed, 14 Feb 2024 14:41:41 +0000 (20:11 +0530)
committerJiri Kosina <jkosina@suse.com>
Tue, 27 Feb 2024 14:13:55 +0000 (15:13 +0100)
commitbbf0dec30696638b8bdc28cb2f5bf23f8d760b52
tree502387d64e76f2ea369a92a85aa254cfe3d8fa39
parent333861f4cca6d2c959ca2876587c42767853dccc
HID: amd_sfh: Update HPD sensor structure elements

HPD sensor data is not populating properly because of wrong order of HPD
sensor structure elements. So update the order of structure elements to
match the HPD sensor data received from the firmware.

Fixes: 24a31ea94922 ("HID: amd_sfh: Add initial support for HPD sensor")
Co-developed-by: Akshata MukundShetty <akshata.mukundshetty@amd.com>
Signed-off-by: Akshata MukundShetty <akshata.mukundshetty@amd.com>
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/amd-sfh-hid/amd_sfh_pcie.h