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:
parent
66c4db92d4
commit
0b23fc2c86
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user