Re: [PATCH v1 4/4] ASoC: rockchip: i2s: fixup clk div

2017-06-13 Thread Mark Brown
On Fri, Jun 09, 2017 at 04:52:49PM +0800, Sugar Zhang wrote: > we found mclk maybe not precise as required because of PLL, > but it still can be used and no side effect. for example, if we > require mclk 11289600, but get 11289598, it doesn't matter. > so using DIV_ROUND_CLOSEST to fix it. This

Re: [PATCH v1 4/4] ASoC: rockchip: i2s: fixup clk div

2017-06-13 Thread Mark Brown
On Fri, Jun 09, 2017 at 04:52:49PM +0800, Sugar Zhang wrote: > we found mclk maybe not precise as required because of PLL, > but it still can be used and no side effect. for example, if we > require mclk 11289600, but get 11289598, it doesn't matter. > so using DIV_ROUND_CLOSEST to fix it. This

[PATCH v1 4/4] ASoC: rockchip: i2s: fixup clk div

2017-06-09 Thread Sugar Zhang
we found mclk maybe not precise as required because of PLL, but it still can be used and no side effect. for example, if we require mclk 11289600, but get 11289598, it doesn't matter. so using DIV_ROUND_CLOSEST to fix it. Signed-off-by: Sugar Zhang ---

[PATCH v1 4/4] ASoC: rockchip: i2s: fixup clk div

2017-06-09 Thread Sugar Zhang
we found mclk maybe not precise as required because of PLL, but it still can be used and no side effect. for example, if we require mclk 11289600, but get 11289598, it doesn't matter. so using DIV_ROUND_CLOSEST to fix it. Signed-off-by: Sugar Zhang --- sound/soc/rockchip/rockchip_i2s.c | 4