projects
/
platform
/
core
/
system
/
peripheral-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03b2376
)
Fix bug at spi open
75/139875/1
author
Sungguk Na
<sungguk.na@samsung.com>
Fri, 21 Jul 2017 02:05:55 +0000
(11:05 +0900)
committer
Sungguk Na
<sungguk.na@samsung.com>
Fri, 21 Jul 2017 02:05:55 +0000
(11:05 +0900)
Change-Id: I3133d1eb66cc2f621f85ba9601dfcf34b02014d2
Signed-off-by: Sungguk Na <sungguk.na@samsung.com>
src/daemon/peripheral_bus.c
patch
|
blob
|
history
diff --git
a/src/daemon/peripheral_bus.c
b/src/daemon/peripheral_bus.c
index
38cbdae
..
65d97f1
100644
(file)
--- a/
src/daemon/peripheral_bus.c
+++ b/
src/daemon/peripheral_bus.c
@@
-984,7
+984,7
@@
gboolean handle_spi_open(
goto out;
if (peripheral_bus_get_client_info(invocation, pb_data, &spi_handle->client_info) < 0) {
- peripheral_bus_
gpio
_close(spi_handle);
+ peripheral_bus_
spi
_close(spi_handle);
ret = PERIPHERAL_ERROR_UNKNOWN;
goto out;
}