]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
remoteproc: Move rproc_delete_debug_dir() to rproc_del()
authorSarangdhar Joshi <spjoshi@codeaurora.org>
Tue, 24 Jan 2017 01:48:48 +0000 (17:48 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 30 Jan 2017 22:18:40 +0000 (14:18 -0800)
commitb003d45b37b2d2c682f279e6fd5a9254b8ddc244
tree09bddf1c64e079476e674867a87d6fcce7cf0955
parent90a068ed3fc93e088d8a216826e33b0c14edec59
remoteproc: Move rproc_delete_debug_dir() to rproc_del()

The "remoteproc{0,1...}" sysfs entries are added in
rproc_add() and deleted in rproc_type_release() instead of
in rproc_del(). That leaves these lingering entries sticking
around after we return from rproc_del(). Move the
rproc_delete_debug_dir() to rproc_del() to fix this.

Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_core.c