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

Commit 165da9cb authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "clk: msm: clock-osm: Fix for programming the APM threshold on MSMCOBALT"

parents 5a534a39 ad09c8ea
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1882,8 +1882,8 @@ static void clk_osm_apm_vc_setup(struct clk_osm *c)
		}
		scm_io_write(c->pbases[OSM_BASE] + SEQ_REG(72),
			     c->apm_crossover_vc);
		clk_osm_write_reg(c, c->apm_threshold_vc,
				  SEQ_REG(15));
		scm_io_write(c->pbases[OSM_BASE] + SEQ_REG(15),
			     c->apm_threshold_vc);
		scm_io_write(c->pbases[OSM_BASE] + SEQ_REG(31),
			     c->apm_threshold_vc != 0 ?
			     c->apm_threshold_vc - 1 : 0xff);