Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8f36780 authored by Paul Mundt's avatar Paul Mundt
Browse files

Merge branch 'rmobile/core' into rmobile-fixes-for-linus

parents a60a3155 574490e3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -583,6 +583,10 @@ static int fsi_set_rate(int is_porta, int rate)
		return -EINVAL;

	switch (rate) {
	case 44100:
		clk_set_rate(fsib_clk, clk_round_rate(fsib_clk, 11283000));
		ret = SH_FSI_ACKMD_256 | SH_FSI_BPFMD_64;
		break;
	case 48000:
		clk_set_rate(fsib_clk, clk_round_rate(fsib_clk, 85428000));
		clk_set_rate(fdiv_clk, clk_round_rate(fdiv_clk, 12204000));