diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-08-30 21:33:10 +0800 |
|---|---|---|
| committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2026-09-02 10:44:33 -0600 |
| commit | 13df1fa4f1a30571442eda64c73d6cac7b9b5c95 (patch) | |
| tree | 7d655edbe958131fbc589af5815ab5fad41d800c /scripts/Makefile.thinlto | |
| parent | 0ea61504f83664a96abae2ac0172a52923b5a4c9 (diff) | |
| download | linux-next-13df1fa4f1a30571442eda64c73d6cac7b9b5c95.tar.gz linux-next-13df1fa4f1a30571442eda64c73d6cac7b9b5c95.zip | |
remoteproc: imx_dsp: Acquire runtime PM before adding carveouts
The prepare callback publishes DSP carveouts before acquiring the
runtime-PM reference that establishes required clocks and mailbox state.
A PM failure therefore leaves the prepare transaction partially
published.
Acquire runtime PM first and drop that reference if carveout
construction fails, so a failed prepare does not add resources before
its hardware prerequisite.
Fixes: ec0e5549f358 ("remoteproc: imx_dsp_rproc: Add remoteproc driver for DSP on i.MX")
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20260830133310.6926-1-pengpeng@iscas.ac.cn
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
