diff options
author | 2022-01-24 13:09:14 +0100 | |
---|---|---|
committer | 2022-02-02 08:32:27 -0700 | |
commit | 77c792b91208b28ad5f09771f990a8d0278e7f29 (patch) | |
tree | ef0a2e03bcb090fcb9fac6617ecbe04b847f6ec1 /scripts/gdb/linux/utils.py | |
parent | remoteproc: mtk_scp: Use devm variant of rproc_alloc() (diff) | |
download | wireguard-linux-77c792b91208b28ad5f09771f990a8d0278e7f29.tar.xz wireguard-linux-77c792b91208b28ad5f09771f990a8d0278e7f29.zip |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions