projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c4b680
)
MLK-16370-2 video: fbdev: dcss: remove YUV422 support in dpr
author
Fancy Fang
<chen.fang@nxp.com>
Tue, 5 Sep 2017 05:58:21 +0000
(13:58 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:28 +0000
(15:38 -0500)
Return error value when meeting 'YUV422' pixel format,
since there is no code can handle this format, and this
can also avoid some build warning.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
drivers/video/fbdev/mxc/imx_dcss.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/mxc/imx_dcss.c
b/drivers/video/fbdev/mxc/imx_dcss.c
index
983e1ed
..
9c57f52
100644
(file)
--- a/
drivers/video/fbdev/mxc/imx_dcss.c
+++ b/
drivers/video/fbdev/mxc/imx_dcss.c
@@
-1488,7
+1488,7
@@
static int dcss_dpr_config(uint32_t dpr_ch, struct dcss_info *info)
}
break;
case 1: /* TODO: YUV 1P */
-
break
;
+
return -EINVAL
;
case 2: /* YUV 2P */
/* Two planes YUV format */
num_pix_y = dpr_pix_y_calc(0, input->height, input->tile_type);