All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: cs42l52: Reorder Min/Max and update to SX_TLV for Beep Volume
@ 2013-08-05 20:08 Brian Austin
  2013-08-05 20:24 ` Mark Brown
  0 siblings, 1 reply; 7+ messages in thread
From: Brian Austin @ 2013-08-05 20:08 UTC (permalink / raw)
  To: alsa-devel; +Cc: brian.austin, broonie, lgirdwood, lars

Beep Volume Min/Max was backwards.
Change to SOC_SONGLE_SX_TLV for correct volume representation

Signed-off-by: Brian Austin <brian.austin@cirrus.com>
---
  sound/soc/codecs/cs42l52.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/cs42l52.c b/sound/soc/codecs/cs42l52.c
index 987f728..ee25f32 100644
--- a/sound/soc/codecs/cs42l52.c
+++ b/sound/soc/codecs/cs42l52.c
@@ -451,7 +451,7 @@ static const struct snd_kcontrol_new cs42l52_snd_controls[] = {
  	SOC_ENUM("Beep Pitch", beep_pitch_enum),
  	SOC_ENUM("Beep on Time", beep_ontime_enum),
  	SOC_ENUM("Beep off Time", beep_offtime_enum),
-	SOC_SINGLE_TLV("Beep Volume", CS42L52_BEEP_VOL, 0, 0x1f, 0x07, hl_tlv),
+	SOC_SINGLE_SX_TLV("Beep Volume", CS42L52_BEEP_VOL, 0, 0x07, 0x1f, hl_tlv),
  	SOC_SINGLE("Beep Mixer Switch", CS42L52_BEEP_TONE_CTL, 5, 1, 1),
  	SOC_ENUM("Beep Treble Corner Freq", beep_treble_enum),
  	SOC_ENUM("Beep Bass Corner Freq", beep_bass_enum),
-- 
1.7.10.4

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

* Re: [PATCH 1/2] ASoC: cs42l52: Reorder Min/Max and update to SX_TLV for Beep Volume
  2013-08-05 20:08 [PATCH 1/2] ASoC: cs42l52: Reorder Min/Max and update to SX_TLV for Beep Volume Brian Austin
@ 2013-08-05 20:24 ` Mark Brown
  2013-08-05 20:31   ` Brian Austin
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Brown @ 2013-08-05 20:24 UTC (permalink / raw)
  To: Brian Austin; +Cc: alsa-devel, lars, lgirdwood


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

On Mon, Aug 05, 2013 at 03:08:47PM -0500, Brian Austin wrote:
> Beep Volume Min/Max was backwards.
> Change to SOC_SONGLE_SX_TLV for correct volume representation

This doesn't apply against v3.11-rc4 - can you check what's going on
there please?  I don't see any obvious issues by eye which is
worrying...

[-- 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] 7+ messages in thread

* Re: [PATCH 1/2] ASoC: cs42l52: Reorder Min/Max and update to SX_TLV for Beep Volume
  2013-08-05 20:24 ` Mark Brown
@ 2013-08-05 20:31   ` Brian Austin
  2013-08-05 20:34     ` Lars-Peter Clausen
  0 siblings, 1 reply; 7+ messages in thread
From: Brian Austin @ 2013-08-05 20:31 UTC (permalink / raw)
  To: Mark Brown; +Cc: Brian Austin, lars, alsa-devel, lgirdwood

On Mon, 5 Aug 2013, Mark Brown wrote:

> On Mon, Aug 05, 2013 at 03:08:47PM -0500, Brian Austin wrote:
>> Beep Volume Min/Max was backwards.
>> Change to SOC_SONGLE_SX_TLV for correct volume representation
>
> This doesn't apply against v3.11-rc4 - can you check what's going on
> there please?  I don't see any obvious issues by eye which is
> worrying...
>
huh,  I just did a fresh pull of for-next and applied and it did fine...
It is SINGLE instead of SONGLE though :) But that wasn't the patch itself

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

* Re: [PATCH 1/2] ASoC: cs42l52: Reorder Min/Max and update to SX_TLV for Beep Volume
  2013-08-05 20:31   ` Brian Austin
@ 2013-08-05 20:34     ` Lars-Peter Clausen
  2013-08-06  0:15       ` Austin, Brian
  0 siblings, 1 reply; 7+ messages in thread
From: Lars-Peter Clausen @ 2013-08-05 20:34 UTC (permalink / raw)
  To: Brian Austin; +Cc: alsa-devel, Mark Brown, lgirdwood

On 08/05/2013 10:31 PM, Brian Austin wrote:
> On Mon, 5 Aug 2013, Mark Brown wrote:
>
>> On Mon, Aug 05, 2013 at 03:08:47PM -0500, Brian Austin wrote:
>>> Beep Volume Min/Max was backwards.
>>> Change to SOC_SONGLE_SX_TLV for correct volume representation
>>
>> This doesn't apply against v3.11-rc4 - can you check what's going on
>> there please?  I don't see any obvious issues by eye which is
>> worrying...
>>
> huh,  I just did a fresh pull of for-next and applied and it did fine...
> It is SINGLE instead of SONGLE though :) But that wasn't the patch itself
>

Looks like your mail client replaced the tabs in the patch with spaces.

- Lars

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

* Re: [PATCH 1/2] ASoC: cs42l52: Reorder Min/Max and update to SX_TLV for Beep Volume
  2013-08-05 20:34     ` Lars-Peter Clausen
@ 2013-08-06  0:15       ` Austin, Brian
  0 siblings, 0 replies; 7+ messages in thread
From: Austin, Brian @ 2013-08-06  0:15 UTC (permalink / raw)
  To: Lars-Peter Clausen
  Cc: alsa-devel@alsa-project.org, Mark Brown, lgirdwood@gmail.com



On Aug 5, 2013, at 15:34, "Lars-Peter Clausen" <lars@metafoo.de> wrote:

> On 08/05/2013 10:31 PM, Brian Austin wrote:
>> On Mon, 5 Aug 2013, Mark Brown wrote:
>> 
>>> On Mon, Aug 05, 2013 at 03:08:47PM -0500, Brian Austin wrote:
>>>> Beep Volume Min/Max was backwards.
>>>> Change to SOC_SONGLE_SX_TLV for correct volume representation
>>> 
>>> This doesn't apply against v3.11-rc4 - can you check what's going on
>>> there please?  I don't see any obvious issues by eye which is
>>> worrying...
>> huh,  I just did a fresh pull of for-next and applied and it did fine...
>> It is SINGLE instead of SONGLE though :) But that wasn't the patch itself
> 
> Looks like your mail client replaced the tabs in the patch with spaces.
> 
> - Lars
> 
Ok, so I guess FWD from pine won't work.  Good grief. I'll have to fix my git mailer tomorrow.

Sorry for the delay

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

* [PATCH 1/2] ASoC: cs42l52: Reorder Min/Max and update to SX_TLV for Beep Volume
@ 2013-08-06 17:57 brian.austin
  2013-08-06 18:39 ` Mark Brown
  0 siblings, 1 reply; 7+ messages in thread
From: brian.austin @ 2013-08-06 17:57 UTC (permalink / raw)
  To: alsa-devel; +Cc: Brian Austin, broonie, lgirdwood, lars

From: Brian Austin <brian.austin@cirrus.com>

Beep Volume Min/Max was backwards.
Change to SOC_SONGLE_SX_TLV for correct volume representation

Signed-off-by: Brian Austin <brian.austin@cirrus.com>
---
 sound/soc/codecs/cs42l52.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/cs42l52.c b/sound/soc/codecs/cs42l52.c
index 987f728..ee25f32 100644
--- a/sound/soc/codecs/cs42l52.c
+++ b/sound/soc/codecs/cs42l52.c
@@ -451,7 +451,7 @@ static const struct snd_kcontrol_new cs42l52_snd_controls[] = {
 	SOC_ENUM("Beep Pitch", beep_pitch_enum),
 	SOC_ENUM("Beep on Time", beep_ontime_enum),
 	SOC_ENUM("Beep off Time", beep_offtime_enum),
-	SOC_SINGLE_TLV("Beep Volume", CS42L52_BEEP_VOL, 0, 0x1f, 0x07, hl_tlv),
+	SOC_SINGLE_SX_TLV("Beep Volume", CS42L52_BEEP_VOL, 0, 0x07, 0x1f, hl_tlv),
 	SOC_SINGLE("Beep Mixer Switch", CS42L52_BEEP_TONE_CTL, 5, 1, 1),
 	SOC_ENUM("Beep Treble Corner Freq", beep_treble_enum),
 	SOC_ENUM("Beep Bass Corner Freq", beep_bass_enum),
-- 
1.7.10.4

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

* Re: [PATCH 1/2] ASoC: cs42l52: Reorder Min/Max and update to SX_TLV for Beep Volume
  2013-08-06 17:57 brian.austin
@ 2013-08-06 18:39 ` Mark Brown
  0 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2013-08-06 18:39 UTC (permalink / raw)
  To: brian.austin; +Cc: alsa-devel, lars, lgirdwood


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

On Tue, Aug 06, 2013 at 12:57:21PM -0500, brian.austin@cirrus.com wrote:
> From: Brian Austin <brian.austin@cirrus.com>
> 
> Beep Volume Min/Max was backwards.
> Change to SOC_SONGLE_SX_TLV for correct volume representation

Applied both, 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] 7+ messages in thread

end of thread, other threads:[~2013-08-06 18:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-05 20:08 [PATCH 1/2] ASoC: cs42l52: Reorder Min/Max and update to SX_TLV for Beep Volume Brian Austin
2013-08-05 20:24 ` Mark Brown
2013-08-05 20:31   ` Brian Austin
2013-08-05 20:34     ` Lars-Peter Clausen
2013-08-06  0:15       ` Austin, Brian
  -- strict thread matches above, loose matches on Subject: below --
2013-08-06 17:57 brian.austin
2013-08-06 18:39 ` 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.