summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-10-05 19:29:23 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-10-05 19:29:22 -0700
commit165da9cba09128e72060291fef1d0241a5d82faa (patch)
treec7ceaeb9de1f9a1f7362768c59f0f13553d62f2d
parent5a534a3946cd738714591591aedf4a3694afb42c (diff)
parentad09c8ea858308a912b64a6b618e634c56436131 (diff)
Merge "clk: msm: clock-osm: Fix for programming the APM threshold on MSMCOBALT"
-rw-r--r--drivers/clk/msm/clock-osm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/msm/clock-osm.c b/drivers/clk/msm/clock-osm.c
index c5ec2ed7318d..0d733f49f184 100644
--- a/drivers/clk/msm/clock-osm.c
+++ b/drivers/clk/msm/clock-osm.c
@@ -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);