mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08: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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user