WM8904: Ad the MCLK frequency to the interface definition. The WM8904 driver needs to know this frequency in order to configure the FLL to generate the correct bitrate

This commit is contained in:
Gregory Nutt
2014-08-01 18:37:56 -06:00
parent 66c4db92d4
commit 0b23fc2c86
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -120,6 +120,7 @@ static struct sama5d3ek_mwinfo_s g_mxtinfo =
{
.address = WM8904_I2C_ADDRESS,
.frequency = CONFIG_SAMA5D3xEK_WM8904_I2CFREQUENCY,
.mclk = BOARD_SLOWCLK_FREQUENCY,
.attach = wm8904_attach,
.enable = wm8904_enable,
+1
View File
@@ -120,6 +120,7 @@ static struct sama5d4ek_mwinfo_s g_mxtinfo =
{
.address = WM8904_I2C_ADDRESS,
.frequency = CONFIG_SAMA5D4EK_WM8904_I2CFREQUENCY,
.mclk = BOARD_SLOWCLK_FREQUENCY,
.attach = wm8904_attach,
.enable = wm8904_enable,