projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb3e4fe
)
MLK-19730: ISI: correct V4L2_PIX_FMT_RGB32 to V4L2_PIX_FMT_XRGB32
author
Guoniu.Zhou
<guoniu.zhou@nxp.com>
Wed, 26 Sep 2018 05:50:43 +0000
(13:50 +0800)
committer
Leonard Crestez
<leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000
(
02:51
+0300)
Because V4L2_PIX_FMT_RGB32 is deprecated and must not
be used by new drivers. V4L2_PIX_FMT_XRGB32 is used to
replace it.
Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
(cherry picked from commit
a6780d01aa9219c6a720177bb85af755ba09a24a
)
drivers/media/platform/imx8/mxc-isi-hw.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/imx8/mxc-isi-hw.c
b/drivers/media/platform/imx8/mxc-isi-hw.c
index
5e8a4d0
..
b3ed9cd
100644
(file)
--- a/
drivers/media/platform/imx8/mxc-isi-hw.c
+++ b/
drivers/media/platform/imx8/mxc-isi-hw.c
@@
-84,7
+84,7
@@
static bool is_rgb(u32 pix_fmt)
{
if ((pix_fmt == V4L2_PIX_FMT_RGB565) ||
(pix_fmt == V4L2_PIX_FMT_RGB24) ||
- (pix_fmt == V4L2_PIX_FMT_RGB32) ||
+ (pix_fmt == V4L2_PIX_FMT_
X
RGB32) ||
(pix_fmt == V4L2_PIX_FMT_BGR24) ||
(pix_fmt == V4L2_PIX_FMT_ARGB32)) {
return true;