All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] UCM: bytcr/PlatformEnableSeq.conf update some comments
@ 2019-02-03 11:37 Hans de Goede
  2019-02-03 11:38 ` Hans de Goede
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hans de Goede @ 2019-02-03 11:37 UTC (permalink / raw)
  To: alsa-devel; +Cc: Hans de Goede, Russell Parker

Commit f91cc3c7d6b7 ("Update chtrt5645 ucm variants to use
bytcr/PlatformEnableSeq.conf component") updated the
following 2 comments:

 # codec0_out settings (used if SSP2 is connected to aif1)
 # modem_out settings (used if SSP0 is connected to aif2)

Specifically it added the " to aif1" resp. " to aif2" part of the comments.

This is not correct, AIF1 / AIF2 are something which is present on
Realtek codecs only, and either one can be used indepedent of
SSP0 or SSP2 being used (the comments in the chtrt5645 UCM profile
before this change were wrong / outdated).

Besides there not being any relationship between SSP0 or SSP2 being
used, bytcr/PlatformEnableSeq.conf is also used with other codecs,
e.g. the ESS8316 codec where this is not applicable at all.

Therefor this commit removes the " to aif?" part of the comments again
to avoid confusing people reading this in the future.

Cc: Russell Parker <russell.parker7@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 src/conf/ucm/platforms/bytcr/PlatformEnableSeq.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/conf/ucm/platforms/bytcr/PlatformEnableSeq.conf b/src/conf/ucm/platforms/bytcr/PlatformEnableSeq.conf
index 6f5e899c..b5ee2b41 100644
--- a/src/conf/ucm/platforms/bytcr/PlatformEnableSeq.conf
+++ b/src/conf/ucm/platforms/bytcr/PlatformEnableSeq.conf
@@ -29,7 +29,7 @@ cset "name='pcm0_in Gain 0 Volume' 0"
 cset "name='pcm1_in Gain 0 Switch' off"
 cset "name='pcm1_in Gain 0 Volume' 0%"
 
-# codec0_out settings (used if SSP2 is connected to aif1)
+# codec0_out settings (used if SSP2 is connected)
 cset "name='codec_out0 mix 0 codec_in0 Switch' off"
 cset "name='codec_out0 mix 0 codec_in1 Switch' off"
 cset "name='codec_out0 mix 0 media_loop1_in Switch' off"
@@ -40,7 +40,7 @@ cset "name='codec_out0 mix 0 sprot_loop_in Switch' off"
 cset "name='codec_out0 Gain 0 Switch' on"
 cset "name='codec_out0 Gain 0 Volume' 0"
 
-# modem_out settings (used if SSP0 is connected to aif2)
+# modem_out settings (used if SSP0 is connected)
 cset "name='modem_out mix 0 codec_in0 Switch' off"
 cset "name='modem_out mix 0 codec_in1 Switch' off"
 cset "name='modem_out mix 0 media_loop1_in Switch' off"
-- 
2.20.1

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

* Re: [PATCH] UCM: bytcr/PlatformEnableSeq.conf update some comments
  2019-02-03 11:37 [PATCH] UCM: bytcr/PlatformEnableSeq.conf update some comments Hans de Goede
@ 2019-02-03 11:38 ` Hans de Goede
  2019-02-07  2:42 ` Russell Parker
  2019-02-07  7:22 ` Takashi Iwai
  2 siblings, 0 replies; 4+ messages in thread
From: Hans de Goede @ 2019-02-03 11:38 UTC (permalink / raw)
  To: alsa-devel; +Cc: Russell Parker

p.s.

Russell, thank you for cleaning up the rt5645 profiles, much appreciated.

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

* Re: [PATCH] UCM: bytcr/PlatformEnableSeq.conf update some comments
  2019-02-03 11:37 [PATCH] UCM: bytcr/PlatformEnableSeq.conf update some comments Hans de Goede
  2019-02-03 11:38 ` Hans de Goede
@ 2019-02-07  2:42 ` Russell Parker
  2019-02-07  7:22 ` Takashi Iwai
  2 siblings, 0 replies; 4+ messages in thread
From: Russell Parker @ 2019-02-07  2:42 UTC (permalink / raw)
  To: Hans de Goede; +Cc: alsa-devel

On 02/03, Hans de Goede wrote:
> Commit f91cc3c7d6b7 ("Update chtrt5645 ucm variants to use
> bytcr/PlatformEnableSeq.conf component") updated the
> following 2 comments:
> 
>  # codec0_out settings (used if SSP2 is connected to aif1)
>  # modem_out settings (used if SSP0 is connected to aif2)
> 
> Specifically it added the " to aif1" resp. " to aif2" part of the comments.
> 
> This is not correct, AIF1 / AIF2 are something which is present on
> Realtek codecs only, and either one can be used indepedent of
> SSP0 or SSP2 being used (the comments in the chtrt5645 UCM profile
> before this change were wrong / outdated).
> 
> Besides there not being any relationship between SSP0 or SSP2 being
> used, bytcr/PlatformEnableSeq.conf is also used with other codecs,
> e.g. the ESS8316 codec where this is not applicable at all.
> 
> Therefor this commit removes the " to aif?" part of the comments again
> to avoid confusing people reading this in the future.
> 
> Cc: Russell Parker <russell.parker7@gmail.com>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Thanks for updating the comments; I saw that the notes were in the rt5645
sequences and incorrectly assumed that it applied to the platform too. Glad
you caught it!

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

* Re: [PATCH] UCM: bytcr/PlatformEnableSeq.conf update some comments
  2019-02-03 11:37 [PATCH] UCM: bytcr/PlatformEnableSeq.conf update some comments Hans de Goede
  2019-02-03 11:38 ` Hans de Goede
  2019-02-07  2:42 ` Russell Parker
@ 2019-02-07  7:22 ` Takashi Iwai
  2 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2019-02-07  7:22 UTC (permalink / raw)
  To: Hans de Goede; +Cc: alsa-devel, Russell Parker

On Sun, 03 Feb 2019 12:37:41 +0100,
Hans de Goede wrote:
> 
> Commit f91cc3c7d6b7 ("Update chtrt5645 ucm variants to use
> bytcr/PlatformEnableSeq.conf component") updated the
> following 2 comments:
> 
>  # codec0_out settings (used if SSP2 is connected to aif1)
>  # modem_out settings (used if SSP0 is connected to aif2)
> 
> Specifically it added the " to aif1" resp. " to aif2" part of the comments.
> 
> This is not correct, AIF1 / AIF2 are something which is present on
> Realtek codecs only, and either one can be used indepedent of
> SSP0 or SSP2 being used (the comments in the chtrt5645 UCM profile
> before this change were wrong / outdated).
> 
> Besides there not being any relationship between SSP0 or SSP2 being
> used, bytcr/PlatformEnableSeq.conf is also used with other codecs,
> e.g. the ESS8316 codec where this is not applicable at all.
> 
> Therefor this commit removes the " to aif?" part of the comments again
> to avoid confusing people reading this in the future.
> 
> Cc: Russell Parker <russell.parker7@gmail.com>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Applied now.  Thanks.


Takashi

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

end of thread, other threads:[~2019-02-07  7:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-03 11:37 [PATCH] UCM: bytcr/PlatformEnableSeq.conf update some comments Hans de Goede
2019-02-03 11:38 ` Hans de Goede
2019-02-07  2:42 ` Russell Parker
2019-02-07  7:22 ` Takashi Iwai

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.