diff options
| author | Bryan O'Donoghue <[email protected]> | 2023-08-30 16:16:06 +0100 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-09-27 09:39:53 +0200 |
| commit | 7405116519ad70b8c7340359bfac8db8279e7ce4 (patch) | |
| tree | 1827f01f7bf39071d77487c16cc085e517523593 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 6465e260f48790807eef06b583b38ca9789b6072 (diff) | |
media: qcom: camss: Fix pm_domain_on sequence in probe
We need to make sure camss_configure_pd() happens before
camss_register_entities() as the vfe_get() path relies on the pointer
provided by camss_configure_pd().
Fix the ordering sequence in probe to ensure the pointers vfe_get() demands
are present by the time camss_register_entities() runs.
In order to facilitate backporting to stable kernels I've moved the
configure_pd() call pretty early on the probe() function so that
irrespective of the existence of the old error handling jump labels this
patch should still apply to -next circa Aug 2023 to v5.13 inclusive.
Fixes: 2f6f8af67203 ("media: camss: Refactor VFE power domain toggling")
Cc: [email protected]
Signed-off-by: Bryan O'Donoghue <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions