[PATCH 0/2] rpmsg: fix after driver_override patchset

From: Krzysztof Kozlowski
Date: Fri Apr 29 2022 - 15:59:56 EST


Hi,

Marek reported issue introduced by commit in Greg's tree:
2cd402b8fd4 ("rpmsg: Fix kfree() of static memory on setting driver_override")

Therefore this should go via Greg's tree as well.

Marek,
Could you test if it fixes your issue? It worked for my case which used
different RPMSG driver.

Best regards,
Krzysztof

Krzysztof Kozlowski (2):
rpmsg: Fix calling device_lock() on non-initialized device
rpmsg: use local 'dev' variable

drivers/rpmsg/rpmsg_core.c | 39 ++++++++++++++++++++++++++++------
drivers/rpmsg/rpmsg_internal.h | 14 +-----------
drivers/rpmsg/rpmsg_ns.c | 14 +-----------
include/linux/rpmsg.h | 8 +++++++
4 files changed, 43 insertions(+), 32 deletions(-)

--
2.32.0