driver: i2s: fix i2s_mcux_sai build warning
remove unused args fixing: #42179 Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
This commit is contained in:
parent
de3518157c
commit
b9dfe371f5
1 changed files with 0 additions and 1 deletions
|
@ -328,7 +328,6 @@ static void enable_mclk_direction(const struct device *dev, bool dir)
|
||||||
const struct i2s_mcux_config *dev_cfg = dev->config;
|
const struct i2s_mcux_config *dev_cfg = dev->config;
|
||||||
uint32_t offset = dev_cfg->mclk_pin_offset;
|
uint32_t offset = dev_cfg->mclk_pin_offset;
|
||||||
uint32_t mask = dev_cfg->mclk_pin_mask;
|
uint32_t mask = dev_cfg->mclk_pin_mask;
|
||||||
uint32_t value = 0;
|
|
||||||
uint32_t *gpr = (uint32_t *)DT_REG_ADDR(DT_NODELABEL(iomuxcgpr)) + offset;
|
uint32_t *gpr = (uint32_t *)DT_REG_ADDR(DT_NODELABEL(iomuxcgpr)) + offset;
|
||||||
|
|
||||||
if (dir) {
|
if (dir) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue