OSDN Git Service

drm: rcar-du: lvds: Rename PLLEN bit to PLLON
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 7 Sep 2015 12:28:17 +0000 (15:28 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 23 Feb 2016 07:34:31 +0000 (09:34 +0200)
The bit is named PLLON in the datasheet, rename it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c
drivers/gpu/drm/rcar-du/rcar_lvds_regs.h

index e044a17..02aceba 100644 (file)
@@ -102,7 +102,7 @@ static int rcar_du_lvdsenc_start(struct rcar_du_lvdsenc *lvds,
        /* Turn the PLL on, wait for the startup delay, and turn the output
         * on.
         */
-       lvdcr0 |= LVDCR0_PLLEN;
+       lvdcr0 |= LVDCR0_PLLON;
        rcar_lvds_write(lvds, LVDCR0, lvdcr0);
 
        usleep_range(100, 150);
index 77cf928..b1eafd0 100644 (file)
@@ -18,7 +18,7 @@
 #define LVDCR0_DMD                     (1 << 12)
 #define LVDCR0_LVMD_MASK               (0xf << 8)
 #define LVDCR0_LVMD_SHIFT              8
-#define LVDCR0_PLLEN                   (1 << 4)
+#define LVDCR0_PLLON                   (1 << 4)
 #define LVDCR0_BEN                     (1 << 2)
 #define LVDCR0_LVEN                    (1 << 1)
 #define LVDCR0_LVRES                   (1 << 0)