Android-x86
Fork
Spenden

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-alsa-lib: Commit

external/alsa-lib


Commit MetaInfo

Revision4d9374e61d23a5fc219ec172fe9613017f9ae79c (tree)
Zeit2019-02-07 16:22:08
AutorHans de Goede <hdegoede@redh...>
CommiterTakashi Iwai

Log Message

ucm: bytcr/PlatformEnableSeq.conf update some comments

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

Ändern Zusammenfassung

Diff

--- 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"
2929 cset "name='pcm1_in Gain 0 Switch' off"
3030 cset "name='pcm1_in Gain 0 Volume' 0%"
3131
32-# codec0_out settings (used if SSP2 is connected to aif1)
32+# codec0_out settings (used if SSP2 is connected)
3333 cset "name='codec_out0 mix 0 codec_in0 Switch' off"
3434 cset "name='codec_out0 mix 0 codec_in1 Switch' off"
3535 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"
4040 cset "name='codec_out0 Gain 0 Switch' on"
4141 cset "name='codec_out0 Gain 0 Volume' 0"
4242
43-# modem_out settings (used if SSP0 is connected to aif2)
43+# modem_out settings (used if SSP0 is connected)
4444 cset "name='modem_out mix 0 codec_in0 Switch' off"
4545 cset "name='modem_out mix 0 codec_in1 Switch' off"
4646 cset "name='modem_out mix 0 media_loop1_in Switch' off"
Show on old repository browser