diff mbox

[2/2] ASoC: cs35l33: Fix display revision id

Message ID 1467245670.7105.3.camel@ingics.com (mailing list archive)
State Accepted
Commit 5d78b027c0d22589d535b3657700e7ff6499d3ed
Headers show

Commit Message

Axel Lin June 30, 2016, 12:14 a.m. UTC
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 sound/soc/codecs/cs35l33.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paul Handrigan June 30, 2016, 3:36 p.m. UTC | #1
On 6/29/16, 7:14 PM, "Axel Lin" <axel.lin@ingics.com> wrote:

>Signed-off-by: Axel Lin <axel.lin@ingics.com>
>---
> sound/soc/codecs/cs35l33.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/sound/soc/codecs/cs35l33.c b/sound/soc/codecs/cs35l33.c
>index aa5c0c5..640fe24 100644
>--- a/sound/soc/codecs/cs35l33.c
>+++ b/sound/soc/codecs/cs35l33.c
>@@ -1219,7 +1219,7 @@ static int cs35l33_i2c_probe(struct i2c_client
>*i2c_client,
> 	}
> 
> 	dev_info(&i2c_client->dev,
>-		 "Cirrus Logic CS35L33, Revision: %02X\n", ret & 0xFF);
>+		 "Cirrus Logic CS35L33, Revision: %02X\n", reg & 0xFF);
> 
> 	ret = regmap_register_patch(cs35l33->regmap,
> 			cs35l33_patch, ARRAY_SIZE(cs35l33_patch));
Acked-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
diff mbox

Patch

diff --git a/sound/soc/codecs/cs35l33.c b/sound/soc/codecs/cs35l33.c
index aa5c0c5..640fe24 100644
--- a/sound/soc/codecs/cs35l33.c
+++ b/sound/soc/codecs/cs35l33.c
@@ -1219,7 +1219,7 @@  static int cs35l33_i2c_probe(struct i2c_client *i2c_client,
 	}
 
 	dev_info(&i2c_client->dev,
-		 "Cirrus Logic CS35L33, Revision: %02X\n", ret & 0xFF);
+		 "Cirrus Logic CS35L33, Revision: %02X\n", reg & 0xFF);
 
 	ret = regmap_register_patch(cs35l33->regmap,
 			cs35l33_patch, ARRAY_SIZE(cs35l33_patch));