]> www.infradead.org Git - linux.git/commit
staging: media: starfive: Add the dynamic resolution support
authorChanghuang Liang <changhuang.liang@starfivetech.com>
Tue, 20 Aug 2024 11:20:02 +0000 (04:20 -0700)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sat, 24 Aug 2024 22:42:01 +0000 (01:42 +0300)
commitb5dec48c2b85e6150b50fa22b181e6396c769c76
tree31875220bd99f084b761ae341656c901f93ee8f5
parent6c573f259ab35ccd078467b125287d2d72068f0b
staging: media: starfive: Add the dynamic resolution support

Add the dynamic resolution support for video "capture_raw" device.
Otherwise it will capture the wrong image data if the width is
not 1920.

Fixes: e080f339c80a ("media: staging: media: starfive: camss: Add capture driver")
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20240820112002.560432-1-changhuang.liang@starfivetech.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/staging/media/starfive/camss/stf-capture.c