+ sh7760fb-write-colormap-value-to-hardware.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     sh7760fb: write colormap value to hardware
has been added to the -mm tree.  Its filename is
     sh7760fb-write-colormap-value-to-hardware.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: sh7760fb: write colormap value to hardware
From: Manuel Lauss <mano@xxxxxxxxxxxxxxxxxxxxxxx>

The computed color value is never actually written to hardware
colormap register.

Signed-off-by: Manuel Lauss <mano@xxxxxxxxxxxxxxxxxxxxxxx>
Cc: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@xxxxxxxxxxx>
Cc: Munakata Hisao <munakata.hisao@xxxxxxxxxxx>
Cc: Paul Mundt <lethal@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/video/sh7760fb.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/video/sh7760fb.c~sh7760fb-write-colormap-value-to-hardware drivers/video/sh7760fb.c
--- a/drivers/video/sh7760fb.c~sh7760fb-write-colormap-value-to-hardware
+++ a/drivers/video/sh7760fb.c
@@ -152,6 +152,7 @@ static int sh7760fb_setcmap(struct fb_cm
 		col |= ((*g) & 0xff) << 8;
 		col |= ((*b) & 0xff);
 		col &= SH7760FB_PALETTE_MASK;
+		iowrite32(col, par->base + LDPR(s));
 
 		if (s < 16)
 			((u32 *) (info->pseudo_palette))[s] = s;
_

Patches currently in -mm which might be from mano@xxxxxxxxxxxxxxxxxxxxxxx are

origin.patch
sh7760fb-write-colormap-value-to-hardware.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux