mbox series

[0/3] remoteproc: core: Fixes for rproc cdev and add

Message ID 1621284349-22752-1-git-send-email-sidgup@codeaurora.org (mailing list archive)
Headers show
Series remoteproc: core: Fixes for rproc cdev and add | expand

Message

Siddharth Gupta May 17, 2021, 8:45 p.m. UTC
This patch series contains stability fixes and error handling for remoteproc.

The changes included in this series do the following:
Patch 1: Fixes the creation of the rproc character device.
Patch 2: Validates rproc as the first step of rproc_add().
Patch 3: Adds error handling in rproc_add().

Siddharth Gupta (3):
  remoteproc: core: Move cdev add before device add
  remoteproc: core: Move validate before device add
  remoteproc: core: Cleanup device in case of failure

 drivers/remoteproc/remoteproc_core.c | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)