]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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)
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


Trivial merge