Merge tag 'rpmsg-v5.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/remote...
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 Jan 2022 09:23:26 +0000 (11:23 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 Jan 2022 09:23:26 +0000 (11:23 +0200)
commit626b2dda7651a7c766108db4cdc0825db05b980d
tree2ed30b8a7bdda5831369ccc354496f146b8f2bab
parent96b5590a486106206f2dab7b28555b5b1a8751c5
parent7a534ae89e34e9b51acb5a63dd0f88308178b46a
Merge tag 'rpmsg-v5.17-fixes' of git://git./linux/kernel/git/remoteproc/linux

Pull rpmsg fixes from Bjorn Andersson:
 "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.

  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()"

* tag 'rpmsg-v5.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
  rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev
  rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev