msm: smd: add separate return code if SMD port is closing

Add EAGAIN return code if SMD port has been allocated, but
is currently pending a remote close.  This allows the client
to differentiate between ENODEV (port doesn't exist)
and EAGAIN (port not ready to be opened).

Change-Id: I798f29d2d9793b361965c135c4b41c3b7ff945e0
Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
1 file changed