Blackfin: bf537-stamp: Register adav801 codec and ASoC machine driver
There is already an entry in the spi device table for the codec, but the modalias was wrong. Also the config symbol name for the codec is wrong, so this is fixed as well. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
2fba06f2b8
commit
080ae07cb7
|
@ -984,9 +984,9 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SND_BF5XX_SOC_ADAV80X) || defined(CONFIG_SND_BF5XX_SOC_ADAV80X_MODULE)
|
#if defined(CONFIG_SND_SOC_ADAV80X) || defined(CONFIG_SND_SOC_ADV80X_MODULE)
|
||||||
{
|
{
|
||||||
.modalias = "adav80x",
|
.modalias = "adav801",
|
||||||
.max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
|
.max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
|
||||||
.bus_num = 0,
|
.bus_num = 0,
|
||||||
.chip_select = 1,
|
.chip_select = 1,
|
||||||
|
@ -2101,7 +2101,7 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = {
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SND_BF5XX_SOC_ADAV80X) || defined(CONFIG_SND_BF5XX_SOC_ADAV80X_MODULE)
|
#if defined(CONFIG_SND_SOC_ADAV80X) || defined(CONFIG_SND_SOC_ADAV80X_MODULE)
|
||||||
{
|
{
|
||||||
I2C_BOARD_INFO("adav803", 0x10),
|
I2C_BOARD_INFO("adav803", 0x10),
|
||||||
},
|
},
|
||||||
|
@ -2552,6 +2552,14 @@ static struct platform_device bfin_ad73311_codec_device = {
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAV80X) || \
|
||||||
|
defined(CONFIG_SND_SOC_BFIN_EVAL_ADAV80X_MODULE)
|
||||||
|
static struct platform_device bfin_eval_adav801_device = {
|
||||||
|
.name = "bfin-eval-adav801",
|
||||||
|
.id = -1,
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SND_BF5XX_SOC_I2S) || defined(CONFIG_SND_BF5XX_SOC_I2S_MODULE)
|
#if defined(CONFIG_SND_BF5XX_SOC_I2S) || defined(CONFIG_SND_BF5XX_SOC_I2S_MODULE)
|
||||||
static struct platform_device bfin_i2s = {
|
static struct platform_device bfin_i2s = {
|
||||||
.name = "bfin-i2s",
|
.name = "bfin-i2s",
|
||||||
|
@ -2838,6 +2846,11 @@ static struct platform_device *stamp_devices[] __initdata = {
|
||||||
defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701_MODULE)
|
defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701_MODULE)
|
||||||
&bf5xx_adau1701_device,
|
&bf5xx_adau1701_device,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAV80X) || \
|
||||||
|
defined(CONFIG_SND_SOC_BFIN_EVAL_ADAV80X_MODULE)
|
||||||
|
&bfin_eval_adav801_device,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init net2272_init(void)
|
static int __init net2272_init(void)
|
||||||
|
|
Loading…
Reference in a new issue