Re: ASoC: cs4349: Add support for Cirrus Logic CS4349 breaks on multiple arch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 18, 2015 at 5:38 PM, Fabio Estevam <festevam@xxxxxxxxx> wrote:
> Would this fix the problem?
>
> +++ b/sound/soc/codecs/Kconfig
> @@ -53,7 +53,7 @@ config SND_SOC_ALL_CODECS
>         select SND_SOC_CS4271_I2C if I2C
>         select SND_SOC_CS4271_SPI if SPI_MASTER
>         select SND_SOC_CS42XX8_I2C if I2C
> -       select SND_SOC_CS4349 if I2C
> +       select SND_SOC_CS4349 if I2C && GPIOLIB
>         select SND_SOC_CX20442 if TTY
>         select SND_SOC_DA7210 if SND_SOC_I2C_AND_SPI
>         select SND_SOC_DA7213 if I2C

Or this one:

--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -53,7 +53,7 @@ config SND_SOC_ALL_CODECS
        select SND_SOC_CS4271_I2C if I2C
        select SND_SOC_CS4271_SPI if SPI_MASTER
        select SND_SOC_CS42XX8_I2C if I2C
-       select SND_SOC_CS4349 if I2C
+       select SND_SOC_CS4349 if I2C && GPIOLIB
        select SND_SOC_CX20442 if TTY
        select SND_SOC_DA7210 if SND_SOC_I2C_AND_SPI
        select SND_SOC_DA7213 if I2C
@@ -410,7 +410,7 @@ config SND_SOC_CS42XX8_I2C
 # Cirrus Logic CS4349 HiFi DAC
 config SND_SOC_CS4349
        tristate "Cirrus Logic CS4349 CODEC"
-       depends on I2C
+       depends on I2C && GPIOLIB

 config SND_SOC_CX20442
        tristate
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux