summaryrefslogtreecommitdiffstats
path: root/drivers/video/maxinefb.c
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2009-09-23 01:47:15 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 16:39:51 +0200
commitbc6932bb4a25ced97c4f201874573e6097237b78 (patch)
treef7bc89b68a935d1951c086aa692fd62319b420b8 /drivers/video/maxinefb.c
parentviafb: split viafb_set_start_addr up (diff)
downloadlinux-bc6932bb4a25ced97c4f201874573e6097237b78.tar.xz
linux-bc6932bb4a25ced97c4f201874573e6097237b78.zip
viafb: fix ioremap_nocache error handling
Correct the returned error code for remapping the video framebuffer. Introduce error handling for remapping MMIO register address space to avoid a NULL pointer dereference. Disable hardware acceleration if remapping MMIO register address space failed as those registers are only used for hardware acceleration. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Scott Fang <ScottFang@viatech.com.cn> Cc: Joseph Chan <JosephChan@via.com.tw> Cc: Harald Welte <laforge@gnumonks.org> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/maxinefb.c')
0 files changed, 0 insertions, 0 deletions