projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e2a14c
)
rk_fb: bmp_helper: remove unalign 24bit bmp check
author
Mark Yao
<mark.yao@rock-chips.com>
Tue, 30 Dec 2014 01:36:32 +0000
(09:36 +0800)
committer
Mark Yao
<mark.yao@rock-chips.com>
Tue, 30 Dec 2014 01:39:01 +0000
(09:39 +0800)
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/video/rockchip/bmp_helper.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/bmp_helper.c
b/drivers/video/rockchip/bmp_helper.c
index 413b0d342d3a93b9a857e503a1f2e6214c9033c8..bf7186f31f9b7ce087588f9a9a0289e9194e295f 100755
(executable)
--- a/
drivers/video/rockchip/bmp_helper.c
+++ b/
drivers/video/rockchip/bmp_helper.c
@@
-379,11
+379,6
@@
int bmpdecoder(void *bmp_addr, void *pdst, int *width, int *height, int *bits)
pr_info("unsupport bit=%d now\n", infoheader.bitcount);
break;
case 24:
- if (size % 3 != 0) {
- pr_info("wrong bmp file with unalign size\n");
-
- return -EINVAL;
- }
if (flip)
src += (*width) * (*height - 1) * 3;