mbox series

[v4,0/2] Fixes for SRA sensor handling

Message ID 20250407151835.1200867-1-superm1@kernel.org (mailing list archive)
Headers show
Series Fixes for SRA sensor handling | expand

Message

Mario Limonciello April 7, 2025, 3:17 p.m. UTC
From: Mario Limonciello <mario.limonciello@amd.com>

On systems with an SRA sensor there are some problems with both init
and failure paths.  This series accounts for both.

v3-v4:
 * I got pinged offline with a missing cleanup case. As the patches
   otherwise looked fine I added it to the second patch and sent it.
Mario Limonciello (2):
  HID: amd_sfh: Fix SRA sensor when it's the only sensor
  HID: amd_sfh: Avoid clearing reports for SRA sensor

 drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_init.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Comments

Basavaraj Natikar April 7, 2025, 3:30 p.m. UTC | #1
On 4/7/2025 8:47 PM, Mario Limonciello wrote:
> From: Mario Limonciello <mario.limonciello@amd.com>
>
> On systems with an SRA sensor there are some problems with both init
> and failure paths.  This series accounts for both.
>
> v3-v4:
>   * I got pinged offline with a missing cleanup case. As the patches
>     otherwise looked fine I added it to the second patch and sent it.
> Mario Limonciello (2):
>    HID: amd_sfh: Fix SRA sensor when it's the only sensor
>    HID: amd_sfh: Avoid clearing reports for SRA sensor
>
>   drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_init.c | 12 ++++++++----
>   1 file changed, 8 insertions(+), 4 deletions(-)

Looks good to me.

Acked-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>

Thanks,
--
Basavaraj

>