[alsa-devel] [PATCH 04/20] ASoC: S3C: I2Sv2: Remove S3C_IIS_V2_SUPPORTED define

Jassi Brar jassi.brar at samsung.com
Wed Mar 10 08:48:53 CET 2010

The code in s3c-i2s-v2.c is compiled via Makefile and not implicitly
by include'ing. Also, the driver developer anyways has to refer to the
manual to see if the code can be reused for the SoC under consideration.
That makes the S3C_IIS_V2_SUPPORTED retrospective rather than a check.

Signed-off-by: Jassi Brar <jassi.brar at samsung.com>
 sound/soc/s3c24xx/s3c-i2s-v2.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/sound/soc/s3c24xx/s3c-i2s-v2.c b/sound/soc/s3c24xx/s3c-i2s-v2.c
index b01f50e..2812b41 100644
--- a/sound/soc/s3c24xx/s3c-i2s-v2.c
+++ b/sound/soc/s3c24xx/s3c-i2s-v2.c
@@ -37,20 +37,6 @@
 #include "s3c-i2s-v2.h"
 #include "s3c-dma.h"
-#if defined(CONFIG_CPU_S3C2412) || defined(CONFIG_CPU_S3C2413)
-#error Unsupported CPU model
 #define S3C2412_I2S_DEBUG_CON 0
 static inline struct s3c_i2sv2_info *to_info(struct snd_soc_dai *cpu_dai)

More information about the Alsa-devel mailing list