HID: amd_sfh: Add sync across amd sfh work functions
The process of the report is delegated across different work functions. Hence, add a sync mechanism to protect SFH work data across functions. Fixes: 4b2c53d9 ("SFH:Transport Driver to add support of AMD Sensor Fusion Hub (SFH)") Reported-by:Matthew Schwartz <matthew.schwartz@linux.dev> Closes: https://lore.kernel.org/all/a21abca5-4268-449d-95f1-bdd7a25894a5@linux.dev/ Tested-by:
Prakruthi SP <Prakruthi.SP@amd.com> 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> Reviewed-by:
Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by:
Jiri Kosina <jkosina@suse.com>
Loading
Please sign in to comment