aboutsummaryrefslogtreecommitdiff
path: root/drivers/firmware
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno2022-01-24 13:09:14 +0100
committerMathieu Poirier2022-02-02 08:32:27 -0700
commit77c792b91208b28ad5f09771f990a8d0278e7f29 (patch)
treeef0a2e03bcb090fcb9fac6617ecbe04b847f6ec1 /drivers/firmware
parentc1407ac1099ab9726c31d38d806f3150f494c494 (diff)
remoteproc: mtk_scp: Reorder scp_probe() sequence
Cleanup the scp_probe() function by reordering some calls in this function, useful to reduce the usage of goto(s), and preparing for one more usage of dev_err_probe(). In particular, we can get the clocks before mapping the memory region, and move the mutexes initialization right before registering the ipi handler (which is the first mutex user in this driver). Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220124120915.41292-2-angelogioacchino.delregno@collabora.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions