Re: [PATCH v4 1/8] media: qcom: camss: Add per sub-device type resources

From: Bryan O'Donoghue
Date: Fri Jun 21 2024 - 11:04:23 EST


On 22/05/2024 16:46, Gjorgji Rosikopulos wrote:
From: Radoslav Tsvetkov <quic_rtsvetko@xxxxxxxxxxx>

Currently resources structure grows with additional parameters required for
each sub-deivce. However each sub-device has some specific resources or
configurations which need to be passed during the initialization.

This change adds per sub-device type structure to simplify the things
and removes the magical void pointer to hw_ops.

Signed-off-by: Radoslav Tsvetkov <quic_rtsvetko@xxxxxxxxxxx>
Signed-off-by: Gjorgji Rosikopulos <quic_grosikop@xxxxxxxxxxx>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
Tested-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx> # sc8280xp/sm8250/sdm845/apq8016
---

Acked-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>