git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
backlight: Fix tdo24m crash on kmalloc
[pandora-kernel.git]
/
drivers
/
video
/
cirrusfb.c
diff --git
a/drivers/video/cirrusfb.c
b/drivers/video/cirrusfb.c
index
d42e385
..
4c2bf92
100644
(file)
--- a/
drivers/video/cirrusfb.c
+++ b/
drivers/video/cirrusfb.c
@@
-567,9
+567,7
@@
static int cirrusfb_check_var(struct fb_var_screeninfo *var,
default:
dev_dbg(info->device,
"Unsupported bpp size: %d\n", var->bits_per_pixel);
- assert(false);
- /* should never occur */
- break;
+ return -EINVAL;
}
if (var->xres_virtual < var->xres)