Commit 83f7a0b8 authored by Suman Anna's avatar Suman Anna
Browse files

rpmsg: rpc: use the local device pointer in all file operations



The remote processor recovery process includes the deletion and
recreation of an rpmsg-rpc device. The representative rppc_device
structure is retained and reused if there are any open applications
using the exposed character device. The underlying device pointer
for a rppc_device is though deleted and recreated and can become
NULL at any point if an error recovery happens. So, switch to using
the local reference device pointer in all the fop functions for
the exposed character device.

Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
parent a429ebe6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment