Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5f03af6 authored by Brian Austin's avatar Brian Austin Committed by Mark Brown
Browse files

ASoC: cs42l52: Add chip rev id message



This patch adds a print message at bootup for the CODEC Rev ID

Signed-off-by: default avatarBrian Austin <brian.austin@cirrus.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 153723f6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1223,6 +1223,9 @@ static int cs42l52_i2c_probe(struct i2c_client *i2c_client,
		return ret;
	}

	dev_info(&i2c_client->dev, "Cirrus Logic CS42L52, Revision: %02X\n",
			reg & 0xFF);

	/* Set Platform Data */
	if (cs42l52->pdata.mica_cfg)
		regmap_update_bits(cs42l52->regmap, CS42L52_MICA_CTL,