]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
firmware: arm_scmi: update rate_discrete in clock_describe_rates_get
authorPeng Fan <peng.fan@nxp.com>
Wed, 22 May 2019 10:15:21 +0000 (10:15 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Wed, 12 Jun 2019 11:29:16 +0000 (12:29 +0100)
commitc0759b9b5d411ab27c479125cee9bae391a96436
tree74fcd09ee0f8510a8c60554bb1ece15c014b6c1b
parent430daaf96ad133be5ce7c3a5c60e94247f7c6f71
firmware: arm_scmi: update rate_discrete in clock_describe_rates_get

The boolean rate_discrete needs to be assigned to clk->rate_discrete,
so that clock driver can distinguish between the continuous range and
discrete rates. It uses this in scmi_clk_round_rate could get the
rounded value if it's a continuous range.

Fixes: 5f6c6430e904 ("firmware: arm_scmi: add initial support for clock protocol")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
[sudeep.holla: updated commit message]
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/clock.c