]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
nvidiafb: access CRT registers safely
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 8 May 2007 07:38:24 +0000 (00:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:28 +0000 (11:15 -0700)
commite296927bcc910ffa9e171c0108a4bf74c0836553
treec04286baf04ab728249c96c868d0b1779da3c5fa
parentb9b2696de920e7366e2ce0cdc3b3b7fc11e44e99
nvidiafb: access CRT registers safely

Use Read/WriteCrtc() to access CRTC registers in nv_i2c.c.  These are safer
  because it uses the correct CRTC base (0x3bx or 0x3dx).

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/nvidia/nv_i2c.c