Merge remote-tracking branch 'staging/staging-next'
[deliverable/linux.git] / drivers / staging / fbtft / fb_s6d02a1.c
index 3113355062fc6902a464cbc32a9415f2eba2310b..774b0ff69e6dd83952355a4f04e596b720108e9e 100644 (file)
@@ -113,12 +113,14 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 #define MV BIT(5)
 static int set_var(struct fbtft_par *par)
 {
-       /* Memory data access control (0x36h)
-            RGB/BGR:
-               1. Mode selection pin SRGB
-                       RGB H/W pin for color filter setting: 0=RGB, 1=BGR
-               2. MADCTL RGB bit
-                       RGB-BGR ORDER color filter panel: 0=RGB, 1=BGR */
+       /*
+        * Memory data access control (0x36h)
+        * RGB/BGR:
+        *      1. Mode selection pin SRGB
+        *              RGB H/W pin for color filter setting: 0=RGB, 1=BGR
+        *      2. MADCTL RGB bit
+        *              RGB-BGR ORDER color filter panel: 0=RGB, 1=BGR
+        */
        switch (par->info->var.rotate) {
        case 0:
                write_reg(par, MIPI_DCS_SET_ADDRESS_MODE,
This page took 0.025932 seconds and 5 git commands to generate.