]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
remoteproc: da8xx: Reorder resource fetching in probe()
authorAndrew Davis <afd@ti.com>
Mon, 2 Mar 2026 19:56:16 +0000 (13:56 -0600)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 6 Mar 2026 15:57:37 +0000 (08:57 -0700)
commit41c3f9fa52020c47a9f1143f8428b2798bbd3aa9
tree7fb933cda1ccd87f797914cc092bbfa7ac7ad293
parent7d9e37f30cd5f3db650ee19a733252b22b5ce0a4
remoteproc: da8xx: Reorder resource fetching in probe()

Currently several resource are fetched before we allocate our instance
data struct. The is unlike most other drivers that fill in the instance
data with resources as they are fetched. Move these down which is more
natural and also removes the need for several temporarily locals.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20260302195616.312378-3-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/da8xx_remoteproc.c