Re: [PATCH v2] HID: amd_sfh: Add support for tablet-mode-switch sensor

From: Basavaraj Natikar
Date: Wed Jan 18 2023 - 04:58:45 EST



On 1/18/2023 2:19 PM, Jiri Kosina wrote:
> On Sun, 18 Dec 2022, Adrian Freund wrote:
>
>> This patch adds support for the tablet mode switch sensors on
>> convertible devices where that sensor is managed by AMD SFH, like the
>> Asus Flow X13 and the Lenovo ThinkPad L13 Yoga Gen2 (AMD).
>>
>> Co-developed-by: Ivan Dovgal <iv.dovg@xxxxxxxxx>
>> Signed-off-by: Ivan Dovgal <iv.dovg@xxxxxxxxx>
>> Co-developed-by: Luke D. Jones <luke@xxxxxxxxxx>
>> Signed-off-by: Luke D. Jones <luke@xxxxxxxxxx>
>> Signed-off-by: Adrian Freund <adrian@xxxxxxxxx>

Whole patch does not take any input data validation from any sensors

Please specify what are valid values?

Thanks,
--
Basavaraj