diff options
author | 2022-01-31 22:48:33 +0530 | |
---|---|---|
committer | 2022-02-02 15:04:26 +0100 | |
commit | 91aaea527bc3b707c5d3208cde035421ed54f79c (patch) | |
tree | 1ddcd96d3ecb3decc823deb097b07fc9b8024e0e /scripts/generate_rust_analyzer.py | |
parent | HID: amd_sfh: Increase sensor command timeout (diff) | |
download | wireguard-linux-91aaea527bc3b707c5d3208cde035421ed54f79c.tar.xz wireguard-linux-91aaea527bc3b707c5d3208cde035421ed54f79c.zip |
HID: amd_sfh: Add illuminance mask to limit ALS max value
ALS illuminance value present only in first 15 bits from SFH firmware
for V2 platforms. Hence added a mask of 15 bit to limit ALS max
illuminance values to get correct illuminance value.
Fixes: 0aad9c95eb9a ("HID: amd_sfh: Extend ALS support for newer AMD platform")
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions