Home
last modified time | relevance | path

Searched hist:"930 eec0be20c93a53160c74005a1485a230e6911" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/remoteproc/
H A Dremoteproc_cdev.cdiff 930eec0be20c93a53160c74005a1485a230e6911 Mon Jun 14 21:21:10 CDT 2021 Siddharth Gupta <sidgup@codeaurora.org> remoteproc: core: Fix cdev remove and rproc del

The rproc_char_device_remove() call currently unmaps the cdev
region instead of simply deleting the cdev that was added as a
part of the rproc_char_device_add() call. This change fixes that
behaviour, and also fixes the order in which device_del() and
cdev_del() need to be called.

Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Link: https://lore.kernel.org/r/1623723671-5517-4-git-send-email-sidgup@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
H A Dremoteproc_core.cdiff 930eec0be20c93a53160c74005a1485a230e6911 Mon Jun 14 21:21:10 CDT 2021 Siddharth Gupta <sidgup@codeaurora.org> remoteproc: core: Fix cdev remove and rproc del

The rproc_char_device_remove() call currently unmaps the cdev
region instead of simply deleting the cdev that was added as a
part of the rproc_char_device_add() call. This change fixes that
behaviour, and also fixes the order in which device_del() and
cdev_del() need to be called.

Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Link: https://lore.kernel.org/r/1623723671-5517-4-git-send-email-sidgup@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>