Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion drivers/audio/wm8904.c
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ static const struct audio_codec_api wm8904_driver_api = {
#define WM8904_INIT(n) \
static const struct wm8904_driver_config wm8904_device_config_##n = { \
.i2c = I2C_DT_SPEC_INST_GET(n), \
.clock_source = DT_INST_PROP_OR(n, clk_source, 0), \
.clock_source = DT_INST_ENUM_IDX(n, clock_source), \
.mclk_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR_BY_NAME(n, mclk)), \
.mclk_name = (clock_control_subsys_t)DT_INST_CLOCKS_CELL_BY_NAME(n, mclk, name)}; \
\
Expand Down
2 changes: 1 addition & 1 deletion drivers/audio/wm8962.c
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ static const struct audio_codec_api wm8962_driver_api = {.configure = wm8962_con
#define wm8962_INIT(n) \
static const struct wm8962_driver_config wm8962_device_config_##n = { \
.i2c = I2C_DT_SPEC_INST_GET(n), \
.clock_source = DT_INST_PROP_OR(n, clk_source, 0), \
.clock_source = DT_INST_ENUM_IDX(n, clock_source), \
.mclk_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR_BY_NAME(n, mclk)), \
.mclk_name = (clock_control_subsys_t)DT_INST_CLOCKS_CELL_BY_NAME(n, mclk, name)}; \
\
Expand Down