Skip to content
Unverified Commit a5c26ee5 authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Mark Brown
Browse files

ASoC: wm8940: Read chip ID when wm8940 codec probing



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 same I2C bus address.

Signed-off-by: default avatarLukasz Majewski <lukma@denx.de>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221216094624.3849278-3-lukma@denx.de
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 294833fc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment