mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
PM / devfreq: get lcdc type from vop drivers for rk3368
Change-Id: I9205286f7b4c0d7ecba3bb08a45af3f49225abe5 Signed-off-by: Tang Yun ping <typ@rock-chips.com> Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
This commit is contained in:
@@ -157,7 +157,9 @@ static int rockchip_ddrclk_scpi_set_rate(struct clk_hw *hw, unsigned long drate,
|
||||
unsigned long prate)
|
||||
{
|
||||
u32 ret;
|
||||
u32 lcdc_type = 7;
|
||||
u32 lcdc_type;
|
||||
|
||||
lcdc_type = rk_drm_get_lcdc_type();
|
||||
|
||||
ret = scpi_ddr_set_clk_rate(drate / MHZ, lcdc_type);
|
||||
if (ret) {
|
||||
|
||||
Reference in New Issue
Block a user