[alsa-devel] [PATCH] ASoC: codecs: Remove "select REGMAP_SPI/REGMAP_I2C"

Lars-Peter Clausen lars at metafoo.de
Thu Jun 16 21:31:18 CEST 2016


On 06/16/2016 09:00 PM, Alexander Shiyan wrote:
> REGMAP_SPI and REGMAP_I2C is selected automatically by SND_SOC,
> so no additional actions is required.

To be honest I'd rather have this the other way around. Remove them from
SND_SOC and let every CODEC select them individually. That would be the
technically correct approach.

Otherwise if we want argue that a system using ASoC has probably at least
one CODEC device that either regmap SPI or regmap I2C and that's why it
makes sense for them to be selected automatically, we can also argue that
these days any system that has SPI or I2C support has likely one device that
either uses regmap SPI or regmap I2C, so they should always be enabled.


More information about the Alsa-devel mailing list