]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
nvidiafb: ensure that CRTC registers are accessible
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 8 May 2007 07:38:23 +0000 (00:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:28 +0000 (11:15 -0700)
commitb9b2696de920e7366e2ce0cdc3b3b7fc11e44e99
tree2d1c3b7365350b332e7bb9b39acf98851bf14596
parent0404384982b2f71eb00573c8f9da514106aca08c
nvidiafb: ensure that CRTC registers are accessible

- Ensure that CRTC registers are accessible by unlocking them on set_par(),
  otherwise i2c reading will fail.

- The function nvidia_vga_protect(), does not protect the VGA registers, but
  turns off the screen.  Rename it to nvidia_screen_off().

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/nvidia.c