Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: ingenic: Fix incorrect data for the i2s clock

The register field for configuring the divider for the i2s clock
occupies the bits [8-0], which means 9 bits and not 8.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Paul Cercueil and committed by
Stephen Boyd
574f4e80 ce397d21

+1 -1
+1 -1
drivers/clk/ingenic/jz4740-cgu.c
··· 134 134 "i2s", CGU_CLK_MUX | CGU_CLK_DIV | CGU_CLK_GATE, 135 135 .parents = { JZ4740_CLK_EXT, JZ4740_CLK_PLL_HALF, -1, -1 }, 136 136 .mux = { CGU_REG_CPCCR, 31, 1 }, 137 - .div = { CGU_REG_I2SCDR, 0, 1, 8, -1, -1, -1 }, 137 + .div = { CGU_REG_I2SCDR, 0, 1, 9, -1, -1, -1 }, 138 138 .gate = { CGU_REG_CLKGR, 6 }, 139 139 }, 140 140