[alsa-devel] [PATCH] ASoC:isabelle:Fix warning message

From: MR Swami Reddy MR.Swami.Reddy@ti.com
Patch to fix the below warning message: sound/soc/codecs/isabelle.c:1126: warning: 'isabelle_regmap' is used uninitialized in this function
Signed-off-by: Vishwas A Deshpande vishwas.a.deshpande@ti.com Signed-off-by: M R Swami Reddy MR.Swami.Reddy@ti.com --- sound/soc/codecs/isabelle.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/isabelle.c b/sound/soc/codecs/isabelle.c index bcc77ef..a2efe1a 100644 --- a/sound/soc/codecs/isabelle.c +++ b/sound/soc/codecs/isabelle.c @@ -1126,8 +1126,6 @@ static int __devinit isabelle_i2c_probe(struct i2c_client *i2c, struct regmap *isabelle_regmap; int ret = 0;
- i2c_set_clientdata(i2c, isabelle_regmap); - isabelle_regmap = devm_regmap_init_i2c(i2c, &isabelle_regmap_config); if (IS_ERR(isabelle_regmap)) { ret = PTR_ERR(isabelle_regmap);

On Tue, Jun 05, 2012 at 08:11:21PM +0530, MR.Swami.Reddy@ti.com wrote:
From: MR Swami Reddy MR.Swami.Reddy@ti.com
Patch to fix the below warning message: sound/soc/codecs/isabelle.c:1126: warning: 'isabelle_regmap' is used uninitialized in this function
I've applied Dan's version of this. As I've said before you should use subject lines appropraite to the subsystem...

On Friday 08 June 2012 05:17 AM, Mark Brown wrote:
On Tue, Jun 05, 2012 at 08:11:21PM +0530, MR.Swami.Reddy@ti.com wrote:
From: MR Swami Reddy MR.Swami.Reddy@ti.com
Patch to fix the below warning message: sound/soc/codecs/isabelle.c:1126: warning: 'isabelle_regmap' is used uninitialized in this function
I've applied Dan's version of this. As I've said before you should use subject lines appropraite to the subsystem...
OK. Thanks.
Thanks Swami
participants (3)
-
Mark Brown
-
MR Swami Reddy
-
MR.Swami.Reddy@ti.com