diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2023-08-30 16:16:06 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-09-13 15:04:03 +0200 |
commit | 2c1bae27df787c9535e48cc27bbd11c3c3e0a235 (patch) | |
tree | 121fd88e38ca7a096a5ac443d1cd2940368e0cea /arch/s390/appldata | |
parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff) |
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: stable@vger.kernel.org
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'arch/s390/appldata')
0 files changed, 0 insertions, 0 deletions