* [PATCH] ASoC: tlv320aic31xx: Remove snd_soc_codec_set_cache_io() call
@ 2014-03-13 16:22 Jyri Sarha
2014-03-13 17:32 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Jyri Sarha @ 2014-03-13 16:22 UTC (permalink / raw)
To: alsa-devel, linux-omap; +Cc: broonie, lgirdwood, lars, tiwai, Jyri Sarha
Remove snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP) call
and codec->control_data = aic31xx->regmap assignment since that
already done by core.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
---
This patch should fix the last minute breakkage of v3.15 ASoC updates build.
sound/soc/codecs/tlv320aic31xx.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/sound/soc/codecs/tlv320aic31xx.c b/sound/soc/codecs/tlv320aic31xx.c
index c9f6989..625b184 100644
--- a/sound/soc/codecs/tlv320aic31xx.c
+++ b/sound/soc/codecs/tlv320aic31xx.c
@@ -1051,18 +1051,9 @@ static int aic31xx_codec_probe(struct snd_soc_codec *codec)
dev_dbg(aic31xx->dev, "## %s\n", __func__);
aic31xx = snd_soc_codec_get_drvdata(codec);
- codec->control_data = aic31xx->regmap;
aic31xx->codec = codec;
- ret = snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP);
-
- if (ret != 0) {
- dev_err(codec->dev, "snd_soc_codec_set_cache_io failed %d\n",
- ret);
- return ret;
- }
-
for (i = 0; i < ARRAY_SIZE(aic31xx->supplies); i++) {
aic31xx->disable_nb[i].nb.notifier_call =
aic31xx_regulator_event;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: tlv320aic31xx: Remove snd_soc_codec_set_cache_io() call
2014-03-13 16:22 [PATCH] ASoC: tlv320aic31xx: Remove snd_soc_codec_set_cache_io() call Jyri Sarha
@ 2014-03-13 17:32 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2014-03-13 17:32 UTC (permalink / raw)
To: Jyri Sarha; +Cc: alsa-devel, linux-omap, lgirdwood, lars, tiwai
[-- Attachment #1: Type: text/plain, Size: 238 bytes --]
On Thu, Mar 13, 2014 at 06:22:35PM +0200, Jyri Sarha wrote:
> Remove snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP) call
> and codec->control_data = aic31xx->regmap assignment since that
> already done by core.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-13 17:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-13 16:22 [PATCH] ASoC: tlv320aic31xx: Remove snd_soc_codec_set_cache_io() call Jyri Sarha
2014-03-13 17:32 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).