tmp_suning_uos_patched/sound/soc/blackfin
Lars-Peter Clausen 6c3d713e6d ASoC: ad193x: Split SPI and I2C code into different modules
There are a few known (minor) problems with having the support code for both I2C
and SPI in the same module:
    * We need to be extra careful to make sure to not build the driver into the
      kernel if one of the subsystems is build as a module (Currently only I2C
      can be build as a module).
    * The module init path error handling is rather ugly. E.g. what should be
      done if either the SPI or the I2C driver fails to register? Most drivers
      that implement SPI and I2C in the same module currently fallback to
      undefined behavior in that case. Splitting the the driver into two
      modules, one for each bus, allows the registration of the other bus driver
      to continue without problems if one of them fails.

This patch splits the AD193X driver into 3 modules. One core module that
implements the device logic, but is independent of the bus method used. And one
module for SPI and I2C each that registers the drivers and sets up the regmap
struct for the bus.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-02-18 10:04:37 +09:00
..
bf5xx-ac97-pcm.c ASoC: blackfin: Don't set unused struct snd_pcm_hardware fields 2013-12-23 12:49:36 +00:00
bf5xx-ac97.c ASoC: bf5xx-ac97: Fix compile error with SND_BF5XX_HAVE_COLD_RESET 2013-07-30 12:51:02 +01:00
bf5xx-ac97.h ASoC: bf5xx-ac97: Remove unused extern declaration 2013-07-30 13:01:09 +01:00
bf5xx-ad193x.c
bf5xx-ad1836.c
bf5xx-ad1980.c
bf5xx-ad73311.c
bf5xx-i2s-pcm.c ASoC: blackfin: Don't set unused struct snd_pcm_hardware fields 2013-12-23 12:49:36 +00:00
bf5xx-i2s-pcm.h
bf5xx-i2s.c ASoC: blackfin: Fix missing break 2013-11-13 16:47:42 +00:00
bf5xx-sport.c ASoC: blackfin: Use WARN_ON() instead of BUG_ON() 2013-11-06 10:26:09 +00:00
bf5xx-sport.h
bf5xx-ssm2602.c
bf6xx-i2s.c ASoC: blackfin: Add missing break statement to bf6xx 2013-09-17 00:47:14 +01:00
bf6xx-sport.c
bf6xx-sport.h
bfin-eval-adau1373.c
bfin-eval-adau1701.c
bfin-eval-adav80x.c
Kconfig ASoC: ad193x: Split SPI and I2C code into different modules 2014-02-18 10:04:37 +09:00
Makefile