[GIT PULL] rpmsg fixes for v5.17-rc1
From: Bjorn Andersson
Date: Wed Jan 26 2022 - 10:42:37 EST
The following changes since commit 8066c615cb69b7da8a94f59379847b037b3a5e46:
rpmsg: core: Clean up resources on announce_create failure. (2021-12-08 10:16:50 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git tags/rpmsg-v5.17-fixes
for you to fetch changes up to 7a534ae89e34e9b51acb5a63dd0f88308178b46a:
rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev (2022-01-17 16:39:58 -0600)
----------------------------------------------------------------
rpmsg fixes for v5.17-rc1
The cdev cleanup in the rpmsg_char driver was not performed properly,
resulting in unpredicable behaviour when the parent remote processor is
stopped with any of the cdevs open by a client.
The two patches transitions the implementation to use cdev_device_add()
and cdev_del_device(), to capture the relationship between the two
objects, and relocates the incorrectly placed cdev_del().
----------------------------------------------------------------
Matthias Kaehlcke (1):
rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev
Sujit Kautkar (1):
rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev
drivers/rpmsg/rpmsg_char.c | 22 ++++------------------
1 file changed, 4 insertions(+), 18 deletions(-)