msm: smd_pkt: Poll/Write operations return error under SSR

Under subsystem restart, poll operation is not returning error at all.
This causes user-space modules, which perform poll operation before read
operation, not able to detect subsystem restart. Also return error
condition continuously for write operation when a subsystem linked by an
SMD channel is in reset.

Change-Id: I2dc34d174ac08bb8d654668e6aaf8821bb190c57
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
1 file changed