Re: [PATCH v4 2/4] media: qcom: camss: Set the streams API flag per SoC
From: Bryan O'Donoghue
Date: Mon Oct 12 2026 - 19:57:26 EST
On 12/10/2026 13:05, Hitesh Patel wrote:
+ bool streams_api = csiphy->camss->res->streams_enable;
int ret;
@@ -2168,7 +2168,7 @@ int msm_vfe_register_entities(struct vfe_device *vfe,
pads = vfe->line[i].pads;
video_out = &vfe->line[i].video_out;
- v4l2_subdev_init(sd, vfe->res->streams_enable ? &vfe_streams_v4l2_ops
+ v4l2_subdev_init(sd, vfe->camss->res->streams_enable ? &vfe_streams_v4l2_ops
: &vfe_v4l2_ops);
sd->internal_ops = &vfe_v4l2_internal_ops;
This is a pretty inconsistent pattern.
If you're booling in a variable, then Boole in a variable *
---
bod