]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: intel/ipu6: fix the buffer flags caused by wrong parentheses
authorBingbu Cao <bingbu.cao@intel.com>
Mon, 27 May 2024 10:48:57 +0000 (18:48 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 28 May 2024 06:00:14 +0000 (08:00 +0200)
commitc19fa08c1414644b0d9275d336bdaff90af57d0b
tree11a16801405fdb0202aefa8598e646cf059a25c4
parentab0ed481012811fed052f609b364c118ce8a576e
media: intel/ipu6: fix the buffer flags caused by wrong parentheses

The buffer flags is set by wrong due to wrong parentheses, the
FL_INCOMING flag is never taken an account.
Fix it by wrapping the ternary conditional operation with parentheses.

Fixes: 3c1dfb5a69cf ("media: intel/ipu6: input system video nodes and buffer queues")
Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/pci/intel/ipu6/ipu6-isys-queue.c