All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: rt5616: Return error if device ID mismatch
@ 2015-12-22  2:16 Axel Lin
  2015-12-22  3:00 ` Bard Liao
  2015-12-23  0:09 ` Applied "ASoC: rt5616: Return error if device ID mismatch" to the asoc tree Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2015-12-22  2:16 UTC (permalink / raw)
  To: Mark Brown; +Cc: Oder Chiou, Bard Liao, alsa-devel, Liam Girdwood

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 sound/soc/codecs/rt5616.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rt5616.c b/sound/soc/codecs/rt5616.c
index f4005cb..0e9414a 100644
--- a/sound/soc/codecs/rt5616.c
+++ b/sound/soc/codecs/rt5616.c
@@ -1314,7 +1314,7 @@ static int rt5616_i2c_probe(struct i2c_client *i2c,
 		dev_err(&i2c->dev,
 			"Device with ID register %#x is not rt5616\n",
 			val);
-		ret = -ENODEV;
+		return -ENODEV;
 	}
 	regmap_write(rt5616->regmap, RT5616_RESET, 0);
 	regmap_update_bits(rt5616->regmap, RT5616_PWR_ANLG1,
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: rt5616: Return error if device ID mismatch
  2015-12-22  2:16 [PATCH] ASoC: rt5616: Return error if device ID mismatch Axel Lin
@ 2015-12-22  3:00 ` Bard Liao
  2015-12-23  0:09 ` Applied "ASoC: rt5616: Return error if device ID mismatch" to the asoc tree Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Bard Liao @ 2015-12-22  3:00 UTC (permalink / raw)
  To: Axel Lin, Mark Brown; +Cc: Oder Chiou, alsa-devel, Liam Girdwood

> -----Original Message-----
> From: Axel Lin [mailto:axel.lin@ingics.com]
> Sent: Tuesday, December 22, 2015 10:17 AM
> To: Mark Brown
> Cc: Bard Liao; Oder Chiou; Liam Girdwood; alsa-devel@alsa-project.org
> Subject: [PATCH] ASoC: rt5616: Return error if device ID mismatch
> 
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Acked-by: Bard Liao <bardliao@realtek.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Applied "ASoC: rt5616: Return error if device ID mismatch" to the asoc tree
  2015-12-22  2:16 [PATCH] ASoC: rt5616: Return error if device ID mismatch Axel Lin
  2015-12-22  3:00 ` Bard Liao
@ 2015-12-23  0:09 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2015-12-23  0:09 UTC (permalink / raw)
  To: Axel Lin, Bard Liao, Mark Brown; +Cc: alsa-devel

The patch

   ASoC: rt5616: Return error if device ID mismatch

has been applied to the asoc tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From 36ddd489b0669f8913c8eda192507f8267749917 Mon Sep 17 00:00:00 2001
From: Axel Lin <axel.lin@ingics.com>
Date: Tue, 22 Dec 2015 10:16:35 +0800
Subject: [PATCH] ASoC: rt5616: Return error if device ID mismatch

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/rt5616.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rt5616.c b/sound/soc/codecs/rt5616.c
index f4005cbaa99d..0e9414abab65 100644
--- a/sound/soc/codecs/rt5616.c
+++ b/sound/soc/codecs/rt5616.c
@@ -1314,7 +1314,7 @@ static int rt5616_i2c_probe(struct i2c_client *i2c,
 		dev_err(&i2c->dev,
 			"Device with ID register %#x is not rt5616\n",
 			val);
-		ret = -ENODEV;
+		return -ENODEV;
 	}
 	regmap_write(rt5616->regmap, RT5616_RESET, 0);
 	regmap_update_bits(rt5616->regmap, RT5616_PWR_ANLG1,
-- 
2.6.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-23  0:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-22  2:16 [PATCH] ASoC: rt5616: Return error if device ID mismatch Axel Lin
2015-12-22  3:00 ` Bard Liao
2015-12-23  0:09 ` Applied "ASoC: rt5616: Return error if device ID mismatch" to the asoc tree Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.