Re: [PATCH] Input: cap11xx - stop using chip ID when configuring it

From: Dmitry Torokhov
Date: Thu Jan 18 2024 - 12:59:59 EST


On Tue, Dec 12, 2023 at 09:33:58PM -0800, Dmitry Torokhov wrote:
> struct cap11xx_hw_model is supposed to describe the chip capabilities,
> however later code changes introduced checks against chip ID.
>
> Introduce new capabilities in cap11xx_hw_model and use them when applying
> chip configuration, and remove the enum for chip ID. While at it, rename
> no_gain to has_gain to match the rest of the new capabilities.

Jiri, if you could give this a spin on your device that would be great.

Thanks!

--
Dmitry