You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
MX31 clkdev support
This patch adds clkdev support for i.MX31. This is done in a similar way done previously for i.MX27 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
@@ -493,7 +493,7 @@ static int sdc_init_panel(struct mx3fb_data *mx3fb, enum ipu_panel panel,
|
||||
*/
|
||||
dev_dbg(mx3fb->dev, "pixel clk = %d\n", pixel_clk);
|
||||
|
||||
ipu_clk = clk_get(mx3fb->dev, "ipu_clk");
|
||||
ipu_clk = clk_get(mx3fb->dev, NULL);
|
||||
div = clk_get_rate(ipu_clk) * 16 / pixel_clk;
|
||||
clk_put(ipu_clk);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user