[alsa-devel] [PATCH 1/1] ASoC: Add AU1761 audio codec as selectable option

Lars-Peter Clausen lars at metafoo.de
Mon Feb 27 12:33:23 CET 2017


On 02/24/2017 10:00 PM, me at rockwellcollins.com wrote:
> From: Bryce Ferguson <bryce.ferguson at rockwellcollins.com>
> 
> This commit adds the ADI AU1761 audio codec as a selectable option
> in the kernel config.  Currently the driver can only be selected
> for ADI blackfin devices or if SND_SOC_ALL_CODECS is enabled.
> 
> Signed-off-by: Bryce Ferguson <bryce.ferguson at rockwellcollins.com>

Looks good, makes sense.

Acked-by: Lars-Peter Clausen <lars at metafoo.de>

But you need to send the patch to the ASoC maintainers Mark
(<broonie at kernel.org>) and Liam (girdwood at gmail.com) to get it applied. The
patch should be send to the maintainers and with the mailinglist on CC.

- Lars

> 
> diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
> index e49e9da..43539c3b 100644
> --- a/sound/soc/codecs/Kconfig
> +++ b/sound/soc/codecs/Kconfig
> @@ -303,12 +303,14 @@ config SND_SOC_ADAU1761
>  	select SND_SOC_ADAU17X1
>  
>  config SND_SOC_ADAU1761_I2C
> -	tristate
> +	tristate "Analog Devices AU1761 CODEC - I2C"
> +	depends on I2C
>  	select SND_SOC_ADAU1761
>  	select REGMAP_I2C
>  
>  config SND_SOC_ADAU1761_SPI
> -	tristate
> +	tristate "Analog Devices AU1761 CODEC - SPI"
> +	depends on SPI
>  	select SND_SOC_ADAU1761
>  	select REGMAP_SPI
>  
> 



More information about the Alsa-devel mailing list