diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2023-09-25 18:46:55 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-10-07 11:55:44 +0300 |
commit | 5900b051959ebf56eb5c6687d8cafb48fc34b973 (patch) | |
tree | 8a76c9b086a242fd3c5330d66df1a8f14b7ef0bc /drivers/ptp/ptp_dte.c | |
parent | 9e0c2597779921c03f6265c1ce45b0121004e301 (diff) | |
download | linux-5900b051959ebf56eb5c6687d8cafb48fc34b973.tar.xz |
media: qcom: camss: Pass remainder of variables as resources
The following variables are being assigned statically based on
compatible strings in the probe path.
* enum camss_version version;
* unsigned int csiphy_num;
* unsigned int csid_num;
* unsigned int vfe_num;
* unsigned int vfe_lite_num;
* unsigned int vfe_total_num;
Migrate those variables to resource parameters passed in on platform
probe arguments. The one caveat is for VFE it has been necessary to
intoduce a new variable vfe_total_num to capture the aggregate value of
vfe_num + vfe_lite_num.
All the rest of the changes are rote camss->variable to
camss->res->variable with the parameter tables now populating the listed
variables.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/ptp/ptp_dte.c')
0 files changed, 0 insertions, 0 deletions