Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 374feb1f authored by Scott Jiang's avatar Scott Jiang Committed by Steven Miao
Browse files

bf609: use new SND_BF6XX_PCM to choose audio pcm driver



There is a new bf6xx audio dma driver, so we don't reuse
bf5xx i2s pcm driver again.

Signed-off-by: default avatarScott Jiang <scott.jiang.linux@gmail.com>
parent a0f4207d
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -780,8 +780,8 @@ static struct adi_spi3_chip spidev_chip_info = {
};
};
#endif
#endif


#if IS_ENABLED(CONFIG_SND_BF5XX_I2S)
#if IS_ENABLED(CONFIG_SND_BF6XX_PCM)
static struct platform_device bfin_i2s_pcm = {
static struct platform_device bfin_pcm = {
	.name = "bfin-i2s-pcm-audio",
	.name = "bfin-i2s-pcm-audio",
	.id = -1,
	.id = -1,
};
};
@@ -2023,8 +2023,8 @@ static struct platform_device *ezkit_devices[] __initdata = {
#if IS_ENABLED(CONFIG_MTD_PHYSMAP)
#if IS_ENABLED(CONFIG_MTD_PHYSMAP)
	&ezkit_flash_device,
	&ezkit_flash_device,
#endif
#endif
#if IS_ENABLED(CONFIG_SND_BF5XX_I2S)
#if IS_ENABLED(CONFIG_SND_BF6XX_PCM)
	&bfin_i2s_pcm,
	&bfin_pcm,
#endif
#endif
#if IS_ENABLED(CONFIG_SND_BF6XX_SOC_I2S)
#if IS_ENABLED(CONFIG_SND_BF6XX_SOC_I2S)
	&bfin_i2s,
	&bfin_i2s,