~diwic/sound-2.6/filtered

Viewing all changes in revision 2927.505.40.

  • Committer: Mark Brown
  • Author(s): Stephen Warren
  • Date: 2011-08-12 02:51:42 UTC
  • mto: This revision was merged to the branch mainline in revision 4908.
  • Revision ID: git-v1:fd602bb54d996ec95c5473938263c81669900dd6
ASoC: soc-io: Fix CONFIG_REGMAP_I2C/SPI guards to support regmap modules

When CONFIG_REGMAP_I2C/SPI are m, CONFIG_REGMAP_I2C_MODULE is set in the
pre-processor instead of CONFIG_REGMAP_I2C. This removes SND_SOC_I2C as a
valid option for snd_soc_codec_set_cache_io()'s control parameter, and
causes any ASoC regmap-using codec built as a module to fail to initialize.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: