tegra: lcd: Tidy up clock init
authorSimon Glass <sjg@chromium.org>
Fri, 5 Jun 2015 20:39:41 +0000 (14:39 -0600)
committerTom Warren <twarren@nvidia.com>
Tue, 9 Jun 2015 16:56:14 +0000 (09:56 -0700)
Use the correct function for clock init.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
drivers/video/tegra124/tegra124-lcd.c

index 27335907544985487c507e56072c38a8b1d2d978..cfdc77ffe376a267241c46854c66a4265d161506 100644 (file)
@@ -51,15 +51,13 @@ static int tegra124_lcd_init(void *lcdbase)
        int ret;
 
        clock_set_up_plldp();
-       clock_adjust_periph_pll_div(PERIPH_ID_HOST1X, CLOCK_ID_PERIPH,
-                                   408000000, NULL);
+       clock_start_periph_pll(PERIPH_ID_HOST1X, CLOCK_ID_PERIPH, 408000000);
 
        clock_enable(PERIPH_ID_HOST1X);
        clock_enable(PERIPH_ID_DISP1);
        clock_enable(PERIPH_ID_PWM);
        clock_enable(PERIPH_ID_DPAUX);
        clock_enable(PERIPH_ID_SOR0);
-
        udelay(2);
 
        reset_set_enable(PERIPH_ID_HOST1X, 0);