Re: [PATCH 4/4] ASoC: wm8940: Read chip ID when wm8940 codec probing

From: Charles Keepax
Date: Wed Dec 14 2022 - 08:11:26 EST


On Wed, Dec 14, 2022 at 01:37:43PM +0100, Lukasz Majewski wrote:
> The wm8940 provides the chip ID information via I2C. In this
> patch this information is read and if not matching expected
> value, the probe function is aborted.
>
> This prevents from using (i.e. inserting) other wm89* modules
> which use the sam I2C bus address.
>
> Signed-off-by: Lukasz Majewski <lukma@xxxxxxx>
> ---

Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>

Thanks,
Charles