mirror of
https://github.com/apache/nuttx.git
synced 2026-08-21 05:28:19 +00:00
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
2 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue