diff options
author | Heiko Stuebner <heiko@sntech.de> | 2013-10-20 20:32:48 (GMT) |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-10-20 20:32:48 (GMT) |
commit | da2f5f4852fb44fe66f164c3d531aef7521af701 (patch) | |
tree | a5b33d83d74b8b0f5e12ffc5ca5d3526af2be865 /arch/arm/mach-s3c24xx/mach-bast.c | |
parent | 7f99ef2284b46f69dfdca690c2b00fa735b32ccc (diff) | |
download | linux-fsl-qoriq-da2f5f4852fb44fe66f164c3d531aef7521af701.tar.xz |
ARM: S3C24XX: Fix possible dma selection warning
Currently the s3c sound support selects CONFIG_S3C2410_DMA on s3c24xx
architectures while the generic dma config is enabled by CONFIG_S3C24XX_DMA.
With the way the Kconfig options are layed out currently it is possible
to enable Samsung sound support without enabling the necessary dma support
resulting in warnings like
warning: (SND_SOC_SAMSUNG && SND_S3C24XX_I2S && SND_S3C2412_SOC_I2S &&
SND_SOC_SAMSUNG_SMDK2443_WM9710 && SND_SOC_SAMSUNG_LN2440SBC_ALC650)
selects S3C2410_DMA which has unmet direct dependencies (ARCH_S3C24XX &&
S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442))
Therefore bring the s3c2410 dma support in line with the way the other
s3c24xx SoCs handle this by having the SoC dma-support selected if the generic
s3c dma support is enabled and have the sound support depend on S3C24XX_DMA
on these arches. The s3c2442 is using the same dma descriptors and therefore
also selected S3C2410_DMA.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/mach-bast.c')
0 files changed, 0 insertions, 0 deletions