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

Commit b3051d25 authored by David Collins's avatar David Collins Committed by Osvaldo Banuelos
Browse files

clk: msm: clock-osm: correct OSM sequencer register virtual corner writes



The values written into OSM sequencer registers #55 to #58
correspond to indexes into the CPRh virtual corner table not
indexes into the OSM table.  Correct this.

Change-Id: I02baca9a410f08c82c34fe82925c0ead22111e5b
CRs-Fixed: 1086294
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 5827fcea
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1829,7 +1829,8 @@ static void clk_osm_program_mem_acc_regs(struct clk_osm *c)
			break;

		if (c->osm_table[i].spare_data != curr_level) {
			mem_acc_level_map[j++] = i - 1;
			mem_acc_level_map[j++]
					= c->osm_table[i].virtual_corner - 1;
			curr_level = c->osm_table[i].spare_data;
		}
	}