diff options
author | Mohit Aggarwal <maggarwa@codeaurora.org> | 2016-11-24 13:48:12 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-11-28 19:47:57 -0800 |
commit | 59045a49161a13e6cfc4ed5b44d15c0cf5c052f3 (patch) | |
tree | bcd95e08bf5c137a7bc81dbb4549dc84f52cb33d /drivers/char/xillybus | |
parent | 9aa1df0cf5ffb58b52b55b4fe2ea6531f795e186 (diff) |
diag: Set in_busy only after initialization of read buffers
Currently, there is a possibility that read buffers are
not initialized but diag ends up marking buffers busy and
stops reading from peripheral, which leads to port loss.
Also reset the in_busy variable for the buffer that reads
the data from smd channel when diag smd state is closed.
CRs-Fixed: 1093989
Change-Id: I1990d0ded5a212c9185c149ac297a3630d64bc59
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
Diffstat (limited to 'drivers/char/xillybus')
0 files changed, 0 insertions, 0 deletions