CS47L35 revisions A1 and above should use the alt_gain in the
same situations as CS47L90.
Change-Id: I35d6f06052db5d0d300b9d009fd0b4cd2e2f5e86
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
case CS47L35:
switch (fll->madera->rev) {
case 0:
+ gain = cfg.gain;
break;
default:
fll_change |=
madera_set_fll_phase_integrator(fll, &cfg,
have_sync);
+ if (!have_sync && (cfg.theta == 0))
+ gain = cfg.alt_gain;
+ else
+ gain = cfg.gain;
break;
}
- gain = cfg.gain;
break;
case CS47L85:
case WM1840: