Skip to contentSkip to conversation

ASoC: mediatek: Check SND_SOC_CROS_EC_CODEC dependency

PATCH In review Mao Wenan 3 participants 7 messages Oct 23, 2019

Subsystems (4)
lore
Share & tools
lore

Mao Wenan

author
#0 lore raw

PATCH 1/1 ASoC: mediatek: Check SND_SOC_CROS_EC_CODEC dependency

If SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A=y,
below errors can be seen:
sound/soc/codecs/cros_ec_codec.o: In function `send_ec_host_command':
cros_ec_codec.c:(.text+0x534): undefined reference to cros_ec_cmd_xfer_status' cros_ec_codec.c:(.text+0x101c): undefined reference to cros_ec_get_host_event'

This is because it will select SND_SOC_CROS_EC_CODEC after commit 2cc3cd5fdc8b ("ASoC: mediatek: mt8183: support WoV"), but SND_SOC_CROS_EC_CODEC depends on CROS_EC.

Fixes 2cc3cd5fdc8b ("ASoC: mediatek: mt8183: support WoV")
---
 sound/soc/mediatek/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/mediatek/Kconfig +1 -1
index 8b29f39..a656d20 100644
@@ -125,7 +125,7 @@ config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
 	select SND_SOC_MAX98357A
 	select SND_SOC_BT_SCO
 	select SND_SOC_TS3A227E
-	select SND_SOC_CROS_EC_CODEC
+	select SND_SOC_CROS_EC_CODEC if CROS_EC
 	help
 	  This adds ASoC driver for Mediatek MT8183 boards
 	  with the MT6358 TS3A227E MAX98357A audio codec.
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Mao Wenan

If SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A=y,
below errors can be seen:
sound/soc/codecs/cros_ec_codec.o: In function `send_ec_host_command':
cros_ec_codec.c:(.text+0x534): undefined reference to cros_ec_cmd_xfer_status' cros_ec_codec.c:(.text+0x101c): undefined reference to cros_ec_get_host_event'

Quoted 6 lines

This is because it will select SND_SOC_CROS_EC_CODEC after commit 2cc3cd5fdc8b ("ASoC: mediatek: mt8183: support WoV"), but SND_SOC_CROS_EC_CODEC depends on CROS_EC.

Fixes 2cc3cd5fdc8b ("ASoC: mediatek: mt8183: support WoV")

Thanks for the catching.

#2 lore raw
In reply to Mao Wenan
Quoted 31 lines · Mao Wenan

If SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A=y,
below errors can be seen:
sound/soc/codecs/cros_ec_codec.o: In function `send_ec_host_command':
cros_ec_codec.c:(.text+0x534): undefined reference to cros_ec_cmd_xfer_status' cros_ec_codec.c:(.text+0x101c): undefined reference to cros_ec_get_host_event'

This is because it will select SND_SOC_CROS_EC_CODEC after commit 2cc3cd5fdc8b ("ASoC: mediatek: mt8183: support WoV"), but SND_SOC_CROS_EC_CODEC depends on CROS_EC.

Fixes 2cc3cd5fdc8b ("ASoC: mediatek: mt8183: support WoV")
---
 sound/soc/mediatek/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/mediatek/Kconfig +1 -2
index 8b29f39..a656d20 100644
@@ -125,7 +125,7 @@ config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
        select SND_SOC_MAX98357A
        select SND_SOC_BT_SCO
        select SND_SOC_TS3A227E
-       select SND_SOC_CROS_EC_CODEC
+       select SND_SOC_CROS_EC_CODEC if CROS_EC
        help
          This adds ASoC driver for Mediatek MT8183 boards
          with the MT6358 TS3A227E MAX98357A audio codec.
--
Quoted 2 lines

2.7.4

Just realized your patch seems not showing in the list
(https://mailman.alsa-project.org/pipermail/alsa-devel/2019-October/thread.html).
I have no idea why.

author
#3 lore raw
Quoted 30 lines · Tzung-Bi Shih
Quoted 29 lines · Mao Wenan

If SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A=y,
below errors can be seen:
sound/soc/codecs/cros_ec_codec.o: In function `send_ec_host_command':
cros_ec_codec.c:(.text+0x534): undefined reference to cros_ec_cmd_xfer_status' cros_ec_codec.c:(.text+0x101c): undefined reference to cros_ec_get_host_event'

This is because it will select SND_SOC_CROS_EC_CODEC after commit 2cc3cd5fdc8b ("ASoC: mediatek: mt8183: support WoV"), but SND_SOC_CROS_EC_CODEC depends on CROS_EC.

Fixes 2cc3cd5fdc8b ("ASoC: mediatek: mt8183: support WoV")
---
 sound/soc/mediatek/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/mediatek/Kconfig +1 -1
index 8b29f39..a656d20 100644
@@ -125,7 +125,7 @@ config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
        select SND_SOC_MAX98357A
        select SND_SOC_BT_SCO
        select SND_SOC_TS3A227E
-       select SND_SOC_CROS_EC_CODEC
+       select SND_SOC_CROS_EC_CODEC if CROS_EC
        help
          This adds ASoC driver for Mediatek MT8183 boards
Quoted 9 lines
Quoted 4 lines
sound/soc/mediatek/Kconfig +0 -1
          with the MT6358 TS3A227E MAX98357A audio codec.
--

2.7.4

Just realized your patch seems not showing in the list
(https://mailman.alsa-project.org/pipermail/alsa-devel/2019-October/thread.html).
I have no idea why.

I receive below message after I post, do you know why? '''
Your mail to 'Alsa-devel' with the subject

[PATCH] ASoC: mediatek: Check SND_SOC_CROS_EC_CODEC dependency

Is being held until the list moderator can review it for approval.

The reason it is being held:

Post by non-member to a members-only list

Either the message will get posted to the list, or you will receive notification of the moderator's decision. If you would like to cancel this posting, please visit the following URL:

    https://mailman.alsa-project.org/mailman/confirm/alsa-devel/574c24ad00f4d1aefc802a8a4b2c5fbda710e4e9

'''

Quoted 2 lines

.

#4 lore raw
Quoted 11 lines · maowenan

I receive below message after I post, do you know why? '''
Your mail to 'Alsa-devel' with the subject

[PATCH] ASoC: mediatek: Check SND_SOC_CROS_EC_CODEC dependency

Is being held until the list moderator can review it for approval.

The reason it is being held:

Post by non-member to a members-only list

I don't exactly know. But I got similar messages when I first time sent mail to the alsa-devel.

Have you subscribed to alsa-devel mailing list? I guess it is fine to wait maintainers to proceed your patch.

author
#5 lore raw
Quoted 11 lines · Tzung-Bi Shih
Quoted 10 lines · maowenan

I receive below message after I post, do you know why? '''
Your mail to 'Alsa-devel' with the subject

[PATCH] ASoC: mediatek: Check SND_SOC_CROS_EC_CODEC dependency

Is being held until the list moderator can review it for approval.

The reason it is being held:

Quoted 8 lines
Quoted 1 line

Post by non-member to a members-only list

I don't exactly know. But I got similar messages when I first time sent mail to the alsa-devel.

Have you subscribed to alsa-devel mailing list? I guess it is fine to wait maintainers to proceed your patch.

OK. Thanks.

Quoted 2 lines

.

maintainer
#6 lore raw

Applied "ASoC: mediatek: Check SND_SOC_CROS_EC_CODEC dependency" to the asoc tree

In reply to Mao Wenan

The patch

ASoC: mediatek: Check SND_SOC_CROS_EC_CODEC dependency

has been applied to the asoc tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5

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 ef5dee551e3e6568fb203ea57fa24f55cb64d451 Mon Sep 17 00:00:00 2001
From: Mao Wenan <[email protected]>
Date: Wed, 23 Oct 2019 14:31:03 +0800
Subject: [PATCH] ASoC: mediatek: Check SND_SOC_CROS_EC_CODEC dependency

If SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A=y,
below errors can be seen:
sound/soc/codecs/cros_ec_codec.o: In function `send_ec_host_command':
cros_ec_codec.c:(.text+0x534): undefined reference to cros_ec_cmd_xfer_status' cros_ec_codec.c:(.text+0x101c): undefined reference to cros_ec_get_host_event'

This is because it will select SND_SOC_CROS_EC_CODEC after commit 2cc3cd5fdc8b ("ASoC: mediatek: mt8183: support WoV"), but SND_SOC_CROS_EC_CODEC depends on CROS_EC.

Fixes 2cc3cd5fdc8b ("ASoC: mediatek: mt8183: support WoV")
---
 sound/soc/mediatek/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/mediatek/Kconfig +1 -1
index 8b29f3979899..a656d2014127 100644
@@ -125,7 +125,7 @@ config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
 	select SND_SOC_MAX98357A
 	select SND_SOC_BT_SCO
 	select SND_SOC_TS3A227E
-	select SND_SOC_CROS_EC_CODEC
+	select SND_SOC_CROS_EC_CODEC if CROS_EC
 	help
 	  This adds ASoC driver for Mediatek MT8183 boards
 	  with the MT6358 TS3A227E MAX98357A audio codec.
Signature · 1 line
2.20.1