Message ID | 20170311125707.14309-1-axel.lin@ingics.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sat, 11 Mar 2017, Axel Lin wrote: > Signed-off-by: Axel Lin <axel.lin@ingics.com> > --- > sound/soc/codecs/cs35l35.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c > index 260ed42..9c82e5e 100644 > --- a/sound/soc/codecs/cs35l35.c > +++ b/sound/soc/codecs/cs35l35.c > @@ -1468,7 +1468,7 @@ static int cs35l35_i2c_probe(struct i2c_client *i2c_client, > > dev_info(&i2c_client->dev, > "Cirrus Logic CS35L35 (%x), Revision: %02X\n", devid, > - ret & 0xFF); > + reg & 0xFF); > > /* Set the INT Masks for critical errors */ > regmap_write(cs35l35->regmap, CS35L35_INT_MASK_1, Acked-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c index 260ed42..9c82e5e 100644 --- a/sound/soc/codecs/cs35l35.c +++ b/sound/soc/codecs/cs35l35.c @@ -1468,7 +1468,7 @@ static int cs35l35_i2c_probe(struct i2c_client *i2c_client, dev_info(&i2c_client->dev, "Cirrus Logic CS35L35 (%x), Revision: %02X\n", devid, - ret & 0xFF); + reg & 0xFF); /* Set the INT Masks for critical errors */ regmap_write(cs35l35->regmap, CS35L35_INT_MASK_1,
Signed-off-by: Axel Lin <axel.lin@ingics.com> --- sound/soc/codecs/cs35l35.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)