16 Jun
2016
16 Jun
'16
9:31 p.m.
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.