[PATCH] pxafb: Minor driver fixes
authorRichard Purdie <rpurdie@rpsys.net>
Fri, 31 Mar 2006 10:31:53 +0000 (02:31 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:19:00 +0000 (12:19 -0800)
commit2cbbb3b59c3ccdc55ad0c924fb49e09a962bb517
treee82e5255fce910728c9a32d8c5ce7b46e5393243
parent2c0f5fb08e8ad59f396b1bda41ccd93cbb00a09f
[PATCH] pxafb: Minor driver fixes

Fixes for the pxafb driver:

* Return -EINVAL for resolutions that are too large as per framebuffer
  driver policy.

* Increase the error timeout for disabling the LCD controller.  The current
  timeout is sometimes too short on the Sharp Zaurus Cxx00 hardware and an
  extra delay in an error path shouldn't pose any problems.

* Fix a dev reference which causes a compile error when DEBUG is defined.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/pxafb.c