mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-30 15:53:22 -05:00
media: ipu3-imgu: imgu_fmt: Handle properly try
[ Upstream commit 553481e38045f349bb9aa596d03bebd020020c9c ] For a try_fmt call, the node noes not need to be enabled. Fixes v4l2-compliance fail: v4l2-test-formats.cpp(717): Video Output Multiplanar is valid, but no TRY_FMT was implemented test VIDIOC_TRY_FMT: FAIL Signed-off-by: Ricardo Ribalda <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
This commit is contained in:
parent
cdf338e1db
commit
e5f9be4869
1 changed files with 1 additions and 1 deletions
|
|
@ -695,7 +695,7 @@ static int imgu_fmt(struct imgu_device *imgu, unsigned int pipe, int node,
|
|||
|
||||
/* CSS expects some format on OUT queue */
|
||||
if (i != IPU3_CSS_QUEUE_OUT &&
|
||||
!imgu_pipe->nodes[inode].enabled) {
|
||||
!imgu_pipe->nodes[inode].enabled && !try) {
|
||||
fmts[i] = NULL;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue