clk: sunxi-ng: sun4i: Set VCO and PLL bias current to lowest setting
authorChen-Yu Tsai <wens@csie.org>
Thu, 6 Sep 2018 13:25:37 +0000 (21:25 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 7 Sep 2018 08:20:50 +0000 (10:20 +0200)
commit80a6ec7d5e1653208eb53f6738620dab98f6f50e
treee405057894dbd4a9319c72489486eb4950ba5818
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
clk: sunxi-ng: sun4i: Set VCO and PLL bias current to lowest setting

The default mid-level PLL bias current setting interferes with sigma
delta modulation. This manifests as decreased audio quality at lower
sampling rates, which sounds like radio broadcast quality, and
distortion noises at sampling rates at 48 kHz or above.

Changing the bias current settings to the lowest gets rid of the
noise.

Fixes: de3448519194 ("clk: sunxi-ng: sun4i: Use sigma-delta modulation
      for audio PLL")
Cc: <stable@vger.kernel.org> # 4.15.x
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
drivers/clk/sunxi-ng/ccu-sun4i-a10.c