Commit 4d9fdf36 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: smd_pkt: close the smd channel if open process times out



If the smd_pkt open process times out after smd_open returned success,
call smd_close so that the end client can successfully attempt to open
the smd_pkt device at a later time.  If this is not done, smd_open will
return an error code when the end client attempts a retry, causing smd
and smd_pkt to get out of sync with regards to the state of the smd
channel.

Change-Id: I7169fb787f91a4ea7870872f9b1f1faeee2a1336
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 762e52ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment