]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: ccs: Correctly initialise try compose rectangle
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 4 Sep 2023 12:57:37 +0000 (15:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:07:19 +0000 (17:07 +0000)
commite082326473861911931eafa463026196ef007df9
treecf2068243e0e7c05838879d70a7ca387873e8f67
parent424fc463811905e26e24b9f11139dbb86ed31619
media: ccs: Correctly initialise try compose rectangle

commit 724ff68e968b19d786870d333f9952bdd6b119cb upstream.

Initialise the try sink compose rectangle size to the sink compose
rectangle for binner and scaler sub-devices. This was missed due to the
faulty condition that lead to the compose rectangles to be initialised for
the pixel array sub-device where it is not relevant.

Fixes: ccfc97bdb5ae ("[media] smiapp: Add driver")
Cc: stable@vger.kernel.org
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/i2c/ccs/ccs-core.c