linux/drivers/hid/amd-sfh-hid
Basavaraj Natikar c56f9ecb7f HID: amd_sfh: Switch to device-managed dmam_alloc_coherent()
Using the device-managed version allows to simplify clean-up in probe()
error path.

Additionally, this device-managed ensures proper cleanup, which helps to
resolve memory errors, page faults, btrfs going read-only, and btrfs
disk corruption.

Fixes: 4b2c53d93a ("SFH:Transport Driver to add support of AMD Sensor Fusion Hub (SFH)")
Tested-by: Chris Hixon <linux-kernel-bugs@hixontech.com>
Tested-by: Richard <hobbes1069@gmail.com>
Tested-by: Skyler <skpu@pm.me>
Reported-by: Chris Hixon <linux-kernel-bugs@hixontech.com>
Closes: https://lore.kernel.org/all/3b129b1f-8636-456a-80b4-0f6cce0eef63@hixontech.com/
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219331
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
2024-10-09 17:18:57 +02:00
..
hid_descriptor HID: amd_sfh: Add light chromaticity support 2023-09-24 13:31:33 +01:00
sfh1_1 HID: amd_sfh: Convert comma to semicolon 2024-09-03 13:39:16 +02:00
amd_sfh_client.c HID: amd_sfh: Switch to device-managed dmam_alloc_coherent() 2024-10-09 17:18:57 +02:00
amd_sfh_common.h HID: amd_sfh: Extend MP2 register access to SFH 2024-02-27 15:13:55 +01:00
amd_sfh_hid.c HID: amd_sfh: free driver_data after destroying hid device 2024-08-02 12:58:03 +02:00
amd_sfh_hid.h HID: amd_sfh: Remove unused declarations 2024-08-19 20:08:11 +02:00
amd_sfh_pcie.c HID: amd_sfh: Modify and log error only if case of functionality failures 2024-05-07 15:18:47 +02:00
amd_sfh_pcie.h HID: amd_sfh: Update HPD sensor structure elements 2024-02-27 15:13:55 +01:00
Kconfig HID: amd_sfh: Set the AMD SFH driver to depend on x86 2024-02-28 13:10:55 +01:00
Makefile kbuild: use $(src) instead of $(srctree)/$(src) for source directory 2024-05-10 04:34:52 +09:00