Re: [PATCH v4 3/3] media: qcom: camss: tpg: Add TPG support for SA8775P and QCS8300

From: Konrad Dybcio
Date: Wed Oct 08 2025 - 06:51:15 EST


On 9/25/25 2:32 AM, Wenmeng Liu wrote:
> Add support for TPG found on SA8775P and QCS8300.
>
> Signed-off-by: Wenmeng Liu <wenmeng.liu@xxxxxxxxxxxxxxxx>
> ---

[...]

> @@ -4350,6 +4413,7 @@ static const struct camss_resources msm8916_resources = {
> .ispif_res = &ispif_res_8x16,
> .vfe_res = vfe_res_8x16,
> .csiphy_num = ARRAY_SIZE(csiphy_res_8x16),
> + .tpg_num = 0,

Uninitialized fields of partially-initialized structs default to zero,
i.e. drop all lines like this

Konrad