Re: [PATCH] Input: qt1050 - handle CHIP_ID reading error

From: Dmitry Torokhov
Date: Tue Jun 25 2024 - 12:14:44 EST


On Mon, Jun 17, 2024 at 08:30:18PM +0200, Andrei Lalaev wrote:
> From: Andrei Lalaev <andrei.lalaev@xxxxxxxxxxxxxx>
>
> If the device is missing, we get the following error:
>
> qt1050 3-0041: ID -1340767592 not supported
>
> Let's handle this situation and print more informative error
> when reading of CHIP_ID fails:
>
> qt1050 3-0041: Failed to read chip ID: -6
>
> Fixes: cbebf5addec1 ("Input: qt1050 - add Microchip AT42QT1050 support")
> Signed-off-by: Andrei Lalaev <andrei.lalaev@xxxxxxxxxxxxxx>

Applied, thank you.

But how did we get into the situation with the chip being missing?
Incorrect DTB for the board?

Thanks.

--
Dmitry