video/sprdfb: add dispc_is_yuv_format() on dispc. 24/103324/2
authorJin-young Jeon <jy0.jeon@samsung.com>
Mon, 28 Mar 2016 04:29:36 +0000 (13:29 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Fri, 9 Dec 2016 00:49:14 +0000 (16:49 -0800)
commit557e266d1fa6afb7acb26656c1dd600a6f66bcce
tree7efffbe672e35c674293032191f1ea0609b98b20
parent8ecdc14e495fa9418e000082de3cf49a81b209d2
video/sprdfb: add dispc_is_yuv_format() on dispc.

This adds dispc_is_yuv_format() function to be easy to check whether
image format is YUV or not, and can cleanup related codes.

This commit comes from product kernel.

Change-Id: I934756c355b533bdbadbeb10b5555ab597a43fce
Signed-off-by: Jin-young Jeon <jy0.jeon@samsung.com>
[jy0922.shim: remove unfit changes and write commit messages]
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
drivers/video/sprdfb/sprdfb_dispc.c