]> Gentwo Git Trees - linux/.git/commit
media: qcom: camss: Use a macro to specify the initial buffer count
authorHangxiang Ma <hangxiang.ma@oss.qualcomm.com>
Thu, 30 Oct 2025 23:24:56 +0000 (23:24 +0000)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Thu, 6 Nov 2025 11:43:55 +0000 (12:43 +0100)
commitd5479f002fe7181fa249fab9c5268ecf38258ab2
tree77c5d5e90caaa9e37865d8f978eab15b5ae10b6f
parentc38d1d7033f05438ddf6d2d6312ff9d7ac2fb84a
media: qcom: camss: Use a macro to specify the initial buffer count

Replace the hardcoded buffer count value with a macro to enable
operating on these buffers elsewhere in the CAMSS driver based on this
count. Some of the hardware architectures require deferring the AUP and
REG update until after the CSID configuration and this macro is expected
to be useful in such scenarios.

Signed-off-by: Hangxiang Ma <hangxiang.ma@oss.qualcomm.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/qcom/camss/camss-vfe.c
drivers/media/platform/qcom/camss/camss.h