From: Stephen Warren Date: Thu, 11 Aug 2011 17:59:11 +0000 (-0600) Subject: ASoC: soc-io: Fix CONFIG_REGMAP_I2C/SPI guards to support regmap modules X-Git-Tag: v3.2-rc1~127^2~2^2~1^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81bca7624db4720db686fa38435c39ea95b7be8f;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed