ASoC: arizona: Add support for directly setting the FLL REFCLK
[deliverable/linux.git] / sound / soc / codecs / wm5102.c
index b8d461db369f1f2952fb562f9ce78ddd74e5e069..5515d85fd82f14770627c934327754e88a2c77ca 100644 (file)
@@ -1483,6 +1483,12 @@ static int wm5102_set_fll(struct snd_soc_codec *codec, int fll_id, int source,
                return arizona_set_fll(&wm5102->fll[0], source, Fref, Fout);
        case WM5102_FLL2:
                return arizona_set_fll(&wm5102->fll[1], source, Fref, Fout);
+       case WM5102_FLL1_REFCLK:
+               return arizona_set_fll_refclk(&wm5102->fll[0], source, Fref,
+                                             Fout);
+       case WM5102_FLL2_REFCLK:
+               return arizona_set_fll_refclk(&wm5102->fll[1], source, Fref,
+                                             Fout);
        default:
                return -EINVAL;
        }
This page took 0.026221 seconds and 5 git commands to generate.