summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-m41t93.c
diff options
context:
space:
mode:
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>2023-04-24 19:04:06 +0300
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2023-04-25 11:58:28 +0300
commit37386669887d3f2ccf021322c5558353d20f2387 (patch)
tree6695a80568f6b4aef414070f17859f434e229957 /drivers/rtc/rtc-m41t93.c
parent4bd763568dbdafdf7cd6b3fcc73f84f1a6f305d1 (diff)
downloadlinux-37386669887d3f2ccf021322c5558353d20f2387.tar.xz
HID: amd_sfh: Fix max supported HID devices
commit 4bd763568dbd ("HID: amd_sfh: Support for additional light sensor") adds additional sensor devices, but forgets to add the number of HID devices to match. Thus, the number of HID devices does not match the actual number of sensors. In order to prevent corruption and system hangs when more than the allowed number of HID devices are accessed, the number of HID devices is increased accordingly. Fixes: 4bd763568dbd ("HID: amd_sfh: Support for additional light sensor") Link: https://bugzilla.kernel.org/show_bug.cgi?id=217354 Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com> Link: https://lore.kernel.org/r/20230424160406.2579888-1-Basavaraj.Natikar@amd.com Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/rtc/rtc-m41t93.c')
0 files changed, 0 insertions, 0 deletions