alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Subject: [PATCH 0/2] wm8962: Add ALC and EQ coefficients
@ 2013-11-01 10:00 Richard Fitzgerald
  2013-11-01 10:02 ` [PATCH 1/2] ASoC: wm8962: Add ALC coefficient support Richard Fitzgerald
  2013-11-01 10:02 ` [PATCH 2/2] ASoC: wm8962: Add EQ " Richard Fitzgerald
  0 siblings, 2 replies; 5+ messages in thread
From: Richard Fitzgerald @ 2013-11-01 10:00 UTC (permalink / raw)
  To: broonie; +Cc: lgirdwood, perex, tiwai, patches, alsa-devel, linux-kernel

Two patches to expose the coefficient blocks for the
ALC and EQ filters.

Richard Fitzgerald (2):
  ASoC: wm8962: Add ALC coefficient support
  ASoC: wm8962: Add EQ coefficient support

 sound/soc/codecs/wm8962.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

-- 
1.7.2.5

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

* [PATCH 1/2] ASoC: wm8962: Add ALC coefficient support
  2013-11-01 10:00 Subject: [PATCH 0/2] wm8962: Add ALC and EQ coefficients Richard Fitzgerald
@ 2013-11-01 10:02 ` Richard Fitzgerald
  2013-11-01 17:52   ` Mark Brown
  2013-11-01 10:02 ` [PATCH 2/2] ASoC: wm8962: Add EQ " Richard Fitzgerald
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Fitzgerald @ 2013-11-01 10:02 UTC (permalink / raw)
  To: broonie; +Cc: alsa-devel, tiwai, patches, linux-kernel, lgirdwood, perex


Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm8962.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index c9ff713..2b04497 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -1774,6 +1774,11 @@ WM8962_DSP2_ENABLE("HPF2 Switch", WM8962_HPF2_ENA_SHIFT),
 SND_SOC_BYTES("HPF Coefficients", WM8962_LHPF2, 1),
 WM8962_DSP2_ENABLE("HD Bass Switch", WM8962_HDBASS_ENA_SHIFT),
 SND_SOC_BYTES("HD Bass Coefficients", WM8962_HDBASS_AI_1, 30),
+
+SOC_DOUBLE("ALC Switch", WM8962_ALC1, WM8962_ALCL_ENA_SHIFT,
+		WM8962_ALCR_ENA_SHIFT, 1, 0),
+SND_SOC_BYTES_MASK("ALC Coefficients", WM8962_ALC1, 4,
+		WM8962_ALCL_ENA_MASK | WM8962_ALCR_ENA_MASK),
 };
 
 static const struct snd_kcontrol_new wm8962_spk_mono_controls[] = {
-- 
1.7.2.5

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

* [PATCH 2/2] ASoC: wm8962: Add EQ coefficient support
  2013-11-01 10:00 Subject: [PATCH 0/2] wm8962: Add ALC and EQ coefficients Richard Fitzgerald
  2013-11-01 10:02 ` [PATCH 1/2] ASoC: wm8962: Add ALC coefficient support Richard Fitzgerald
@ 2013-11-01 10:02 ` Richard Fitzgerald
  2013-11-01 17:52   ` Mark Brown
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Fitzgerald @ 2013-11-01 10:02 UTC (permalink / raw)
  To: broonie; +Cc: alsa-devel, tiwai, patches, linux-kernel, lgirdwood, perex


Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm8962.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index 2b04497..150d003 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -1757,6 +1757,9 @@ SOC_DOUBLE_R_TLV("EQ4 Volume", WM8962_EQ3, WM8962_EQ23,
 		 WM8962_EQL_B4_GAIN_SHIFT, 31, 0, eq_tlv),
 SOC_DOUBLE_R_TLV("EQ5 Volume", WM8962_EQ3, WM8962_EQ23,
 		 WM8962_EQL_B5_GAIN_SHIFT, 31, 0, eq_tlv),
+SND_SOC_BYTES("EQL Coefficients", WM8962_EQ4, 18),
+SND_SOC_BYTES("EQR Coefficients", WM8962_EQ24, 18),
+
 
 SOC_SINGLE("3D Switch", WM8962_THREED1, 0, 1, 0),
 SND_SOC_BYTES_MASK("3D Coefficients", WM8962_THREED1, 4, WM8962_THREED_ENA),
-- 
1.7.2.5

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

* Re: [PATCH 1/2] ASoC: wm8962: Add ALC coefficient support
  2013-11-01 10:02 ` [PATCH 1/2] ASoC: wm8962: Add ALC coefficient support Richard Fitzgerald
@ 2013-11-01 17:52   ` Mark Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2013-11-01 17:52 UTC (permalink / raw)
  To: Richard Fitzgerald; +Cc: alsa-devel, lgirdwood, tiwai, patches, linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 163 bytes --]

On Fri, Nov 01, 2013 at 10:02:10AM +0000, Richard Fitzgerald wrote:
> 
> Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

* Re: [PATCH 2/2] ASoC: wm8962: Add EQ coefficient support
  2013-11-01 10:02 ` [PATCH 2/2] ASoC: wm8962: Add EQ " Richard Fitzgerald
@ 2013-11-01 17:52   ` Mark Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2013-11-01 17:52 UTC (permalink / raw)
  To: Richard Fitzgerald
  Cc: alsa-devel, tiwai, patches, linux-kernel, lgirdwood, perex

[-- Attachment #1: Type: text/plain, Size: 163 bytes --]

On Fri, Nov 01, 2013 at 10:02:58AM +0000, Richard Fitzgerald wrote:
> 
> Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2013-11-01 17:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-01 10:00 Subject: [PATCH 0/2] wm8962: Add ALC and EQ coefficients Richard Fitzgerald
2013-11-01 10:02 ` [PATCH 1/2] ASoC: wm8962: Add ALC coefficient support Richard Fitzgerald
2013-11-01 17:52   ` Mark Brown
2013-11-01 10:02 ` [PATCH 2/2] ASoC: wm8962: Add EQ " Richard Fitzgerald
2013-11-01 17:52   ` 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).