]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: qcom: camss: vfe: fix PIX subdev naming on VFE lite
authorWenmeng Liu <wenmeng.liu@oss.qualcomm.com>
Thu, 19 Mar 2026 09:09:02 +0000 (17:09 +0800)
committerBryan O'Donoghue <bod@kernel.org>
Fri, 8 May 2026 23:22:58 +0000 (00:22 +0100)
commitc97e797a64cdfe4acecff831b4285418d2815893
tree21c98eb026336ff547afca78e337ec0a59e43678
parent51fe835c485beaebe041d441d2be9840882bb152
media: qcom: camss: vfe: fix PIX subdev naming on VFE lite

VFE lite hardware does not provide a functional PIX path, but after
the per sub-device type resource changes the PIX subdev name is still
assigned unconditionally.

Only assign the PIX subdev name on non-lite VFE variants to avoid
exposing a misleading device name.

Fixes: ae44829a4a97 ("media: qcom: camss: Add per sub-device type resources")
Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
drivers/media/platform/qcom/camss/camss-vfe.c