summaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg/mtk_rpmsg.c
Commit message (Collapse)AuthorAgeFilesLines
* rpmsg: Avoid double-free in mtk_rpmsg_register_deviceNicolas Boichat2020-09-151-8/+1
| | | | | | | | | | | If rpmsg_register_device fails, it will call mtk_rpmsg_release_device which already frees mdev. Fixes: 7017996951fd ("rpmsg: add rpmsg support for mt8183 SCP.") Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Link: https://lore.kernel.org/r/20200903080547.v3.1.I56cf27cd59f4013bd074dc622c8b8248b034a4cc@changeid Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
* rpmsg: pull in slab.hMichael S. Tsirkin2020-04-171-0/+1
| | | | | | | In preparation to virtio header changes, include slab.h directly as this module is using it. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* rpmsg: add rpmsg support for mt8183 SCP.Pi-Hsun Shih2020-01-201-0/+414
Add a simple rpmsg support for mt8183 SCP, that use IPI / IPC directly. Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org> Link: https://lore.kernel.org/r/20191112110330.179649-4-pihsun@chromium.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>