OSDN Git Service

spcom: open channel return EBUSY when channel in use
authorAmir Samuelov <amirs@codeaurora.org>
Sun, 28 May 2017 13:11:37 +0000 (16:11 +0300)
committerGerrit - the friendly Code Review server <code-review@localhost>
Tue, 30 May 2017 09:54:46 +0000 (02:54 -0700)
commitd23cacb3acdba8c0253c70df71b9663becad229e
treeea4d1bb29d699b996f3a10e62d578a68cdcbe65c
parentace73576d2eb567f552a699109b32d0917fccdbd
spcom: open channel return EBUSY when channel in use

The char device /dev/sp_kernel is used for loading SP application and
creating new channel char device, therefore might be temporary busy.
Return EBUSY error to user system call open() so it can retry.

Change-Id: I230577fe6b03ac7afd7175f72f9a3fa80db5a524
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
drivers/soc/qcom/spcom.c