* [PATCH] ASoC: wm8974: set cache type for regmap
@ 2015-12-11 11:27 Mans Rullgard
2015-12-11 12:54 ` Charles Keepax
2015-12-12 23:07 ` Applied "ASoC: wm8974: set cache type for regmap" to the asoc tree Mark Brown
0 siblings, 2 replies; 4+ messages in thread
From: Mans Rullgard @ 2015-12-11 11:27 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
patches, alsa-devel, linux-kernel
Attempting to use this codec driver triggers a BUG() in regcache_sync()
since no cache type is set. The register map of this device is fairly
small and has few holes so a flat cache is suitable.
Signed-off-by: Mans Rullgard <mans@mansr.com>
---
sound/soc/codecs/wm8974.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/wm8974.c b/sound/soc/codecs/wm8974.c
index 45ba828..c284c7b 100644
--- a/sound/soc/codecs/wm8974.c
+++ b/sound/soc/codecs/wm8974.c
@@ -574,6 +574,7 @@ static const struct regmap_config wm8974_regmap = {
.max_register = WM8974_MONOMIX,
.reg_defaults = wm8974_reg_defaults,
.num_reg_defaults = ARRAY_SIZE(wm8974_reg_defaults),
+ .cache_type = REGCACHE_FLAT,
};
static int wm8974_probe(struct snd_soc_codec *codec)
--
2.6.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ASoC: wm8974: set cache type for regmap
2015-12-11 11:27 [PATCH] ASoC: wm8974: set cache type for regmap Mans Rullgard
@ 2015-12-11 12:54 ` Charles Keepax
2015-12-12 23:07 ` Applied "ASoC: wm8974: set cache type for regmap" to the asoc tree Mark Brown
1 sibling, 0 replies; 4+ messages in thread
From: Charles Keepax @ 2015-12-11 12:54 UTC (permalink / raw)
To: Mans Rullgard
Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
patches, alsa-devel, linux-kernel
On Fri, Dec 11, 2015 at 11:27:08AM +0000, Mans Rullgard wrote:
> Attempting to use this codec driver triggers a BUG() in regcache_sync()
> since no cache type is set. The register map of this device is fairly
> small and has few holes so a flat cache is suitable.
>
> Signed-off-by: Mans Rullgard <mans@mansr.com>
> ---
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thanks,
Charles
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ASoC: wm8974: set cache type for regmap
@ 2015-12-11 12:54 ` Charles Keepax
0 siblings, 0 replies; 4+ messages in thread
From: Charles Keepax @ 2015-12-11 12:54 UTC (permalink / raw)
To: Mans Rullgard
Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
patches, alsa-devel, linux-kernel
On Fri, Dec 11, 2015 at 11:27:08AM +0000, Mans Rullgard wrote:
> Attempting to use this codec driver triggers a BUG() in regcache_sync()
> since no cache type is set. The register map of this device is fairly
> small and has few holes so a flat cache is suitable.
>
> Signed-off-by: Mans Rullgard <mans@mansr.com>
> ---
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thanks,
Charles
^ permalink raw reply [flat|nested] 4+ messages in thread
* Applied "ASoC: wm8974: set cache type for regmap" to the asoc tree
2015-12-11 11:27 [PATCH] ASoC: wm8974: set cache type for regmap Mans Rullgard
2015-12-11 12:54 ` Charles Keepax
@ 2015-12-12 23:07 ` Mark Brown
1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2015-12-12 23:07 UTC (permalink / raw)
To: Mans Rullgard, Charles Keepax, Mark Brown, stable; +Cc: alsa-devel
The patch
ASoC: wm8974: set cache type for regmap
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 1ea5998afe903384ddc16391d4c023cd4c867bea Mon Sep 17 00:00:00 2001
From: Mans Rullgard <mans@mansr.com>
Date: Fri, 11 Dec 2015 11:27:08 +0000
Subject: [PATCH] ASoC: wm8974: set cache type for regmap
Attempting to use this codec driver triggers a BUG() in regcache_sync()
since no cache type is set. The register map of this device is fairly
small and has few holes so a flat cache is suitable.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
---
sound/soc/codecs/wm8974.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/wm8974.c b/sound/soc/codecs/wm8974.c
index 0a60677..4c29bd2 100644
--- a/sound/soc/codecs/wm8974.c
+++ b/sound/soc/codecs/wm8974.c
@@ -574,6 +574,7 @@ static const struct regmap_config wm8974_regmap = {
.max_register = WM8974_MONOMIX,
.reg_defaults = wm8974_reg_defaults,
.num_reg_defaults = ARRAY_SIZE(wm8974_reg_defaults),
+ .cache_type = REGCACHE_FLAT,
};
static int wm8974_probe(struct snd_soc_codec *codec)
--
2.6.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-12-12 23:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-11 11:27 [PATCH] ASoC: wm8974: set cache type for regmap Mans Rullgard
2015-12-11 12:54 ` Charles Keepax
2015-12-11 12:54 ` Charles Keepax
2015-12-12 23:07 ` Applied "ASoC: wm8974: set cache type for regmap" 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.