2019-02-25 13:56:02

by Cheng-Yi Chiang

[permalink] [raw]
Subject: [PATCH] ASoC: qcom: Kconfig: fix dependency for sdm845

SND_SOC_CROS_EC_CODEC depends on MFD_CROS_EC.
Add that dependency to SND_SOC_SDM845 to fix unmet direct dependencies
warning.

Fixes: 74c6ecf4194e (ASoC: qcom: Kconfig: select dmic for sdm845)
Signed-off-by: Cheng-Yi Chiang <[email protected]>
---
sound/soc/qcom/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig
index 8f206cb4fcc0..75ceb04d8bf0 100644
--- a/sound/soc/qcom/Kconfig
+++ b/sound/soc/qcom/Kconfig
@@ -98,7 +98,7 @@ config SND_SOC_MSM8996

config SND_SOC_SDM845
tristate "SoC Machine driver for SDM845 boards"
- depends on QCOM_APR
+ depends on QCOM_APR && MFD_CROS_EC
select SND_SOC_QDSP6
select SND_SOC_QCOM_COMMON
select SND_SOC_RT5663
--
2.21.0.rc0.258.g878e2cd30e-goog



2019-02-25 14:38:03

by Enric Balletbo i Serra

[permalink] [raw]
Subject: Re: [PATCH] ASoC: qcom: Kconfig: fix dependency for sdm845

Hi,

On 25/2/19 14:54, Cheng-Yi Chiang wrote:
> SND_SOC_CROS_EC_CODEC depends on MFD_CROS_EC.
> Add that dependency to SND_SOC_SDM845 to fix unmet direct dependencies
> warning.
>
> Fixes: 74c6ecf4194e (ASoC: qcom: Kconfig: select dmic for sdm845)

Reported-by: Randy Dunlap <[email protected]>

> Signed-off-by: Cheng-Yi Chiang <[email protected]>

Tested-by: Enric Balletbo i Serra <[email protected]>

Thanks,
Enric

> ---
> sound/soc/qcom/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig
> index 8f206cb4fcc0..75ceb04d8bf0 100644
> --- a/sound/soc/qcom/Kconfig
> +++ b/sound/soc/qcom/Kconfig
> @@ -98,7 +98,7 @@ config SND_SOC_MSM8996
>
> config SND_SOC_SDM845
> tristate "SoC Machine driver for SDM845 boards"
> - depends on QCOM_APR
> + depends on QCOM_APR && MFD_CROS_EC
> select SND_SOC_QDSP6
> select SND_SOC_QCOM_COMMON
> select SND_SOC_RT5663
>

2019-02-25 16:29:49

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] ASoC: qcom: Kconfig: fix dependency for sdm845

On 2/25/19 6:37 AM, Enric Balletbo i Serra wrote:
> Hi,
>
> On 25/2/19 14:54, Cheng-Yi Chiang wrote:
>> SND_SOC_CROS_EC_CODEC depends on MFD_CROS_EC.
>> Add that dependency to SND_SOC_SDM845 to fix unmet direct dependencies
>> warning.
>>
>> Fixes: 74c6ecf4194e (ASoC: qcom: Kconfig: select dmic for sdm845)
>
> Reported-by: Randy Dunlap <[email protected]>
>
>> Signed-off-by: Cheng-Yi Chiang <[email protected]>
>
> Tested-by: Enric Balletbo i Serra <[email protected]>
>
> Thanks,
> Enric

Works for me. Thanks.

Tested-by: Randy Dunlap <[email protected]>

>> ---
>> sound/soc/qcom/Kconfig | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig
>> index 8f206cb4fcc0..75ceb04d8bf0 100644
>> --- a/sound/soc/qcom/Kconfig
>> +++ b/sound/soc/qcom/Kconfig
>> @@ -98,7 +98,7 @@ config SND_SOC_MSM8996
>>
>> config SND_SOC_SDM845
>> tristate "SoC Machine driver for SDM845 boards"
>> - depends on QCOM_APR
>> + depends on QCOM_APR && MFD_CROS_EC
>> select SND_SOC_QDSP6
>> select SND_SOC_QCOM_COMMON
>> select SND_SOC_RT5663
>>


--
~Randy

2019-02-26 12:07:17

by Mark Brown

[permalink] [raw]
Subject: Applied "ASoC: qcom: Kconfig: fix dependency for sdm845" to the asoc tree

The patch

ASoC: qcom: Kconfig: fix dependency for sdm845

has been applied to the asoc tree at

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

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 cdcdba5d624fc3fbad224230ca318c6ddf73795a Mon Sep 17 00:00:00 2001
From: Cheng-Yi Chiang <[email protected]>
Date: Mon, 25 Feb 2019 21:54:05 +0800
Subject: [PATCH] ASoC: qcom: Kconfig: fix dependency for sdm845

SND_SOC_CROS_EC_CODEC depends on MFD_CROS_EC.
Add that dependency to SND_SOC_SDM845 to fix unmet direct dependencies
warning.

Fixes: 74c6ecf4194e (ASoC: qcom: Kconfig: select dmic for sdm845)
Signed-off-by: Cheng-Yi Chiang <[email protected]>
Reported-by: Randy Dunlap <[email protected]>
Tested-by: Enric Balletbo i Serra <[email protected]>
Tested-by: Randy Dunlap <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
---
sound/soc/qcom/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig
index 8f206cb4fcc0..75ceb04d8bf0 100644
--- a/sound/soc/qcom/Kconfig
+++ b/sound/soc/qcom/Kconfig
@@ -98,7 +98,7 @@ config SND_SOC_MSM8996

config SND_SOC_SDM845
tristate "SoC Machine driver for SDM845 boards"
- depends on QCOM_APR
+ depends on QCOM_APR && MFD_CROS_EC
select SND_SOC_QDSP6
select SND_SOC_QCOM_COMMON
select SND_SOC_RT5663
--
2.20.1