aboutsummaryrefslogtreecommitdiff
path: root/scripts/build-all.py
diff options
context:
space:
mode:
authorSteven Cahail <scahail@codeaurora.org>2014-02-24 17:31:23 -0700
committerSteven Cahail <scahail@codeaurora.org>2014-02-27 15:49:01 -0700
commit5c83fb8406da21cdc9dc9021d0346a7294e52758 (patch)
treed1c1e1e3e5b55915dd6619c1dea7f493bdc35c89 /scripts/build-all.py
parent46fe9155c86fd9b0947c27d73cf648c9172aba32 (diff)
soc: qcom: smd: Return -EBUSY for a port that exists but is already open
Currently, the smd module returns -ENODEV if an attempt is made to open a port that is already open. This means that a client can't tell the difference between the port not existing and the port being in use by another client. Fix iterates through the list of currently open ports prior to opening a new port and checks to see if the port is already open. If port is already open, fix logs an error message and returns -EBUSY. Change-Id: I19834ed693f4b58736d73f5acb6fea5fc29beb57 Signed-off-by: Steven Cahail <scahail@codeaurora.org>
Diffstat (limited to 'scripts/build-all.py')
0 files changed, 0 insertions, 0 deletions