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

Charles Keepax
2022-12-14T13:11:26Z

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@denx.de>
> ---

Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>

Thanks,
Charles