projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
greybus: hd: generalise cport allocation
[cascardo/linux.git]
/
drivers
/
staging
/
greybus
/
connection.c
diff --git
a/drivers/staging/greybus/connection.c
b/drivers/staging/greybus/connection.c
index
ac99fc0
..
395a9df
100644
(file)
--- a/
drivers/staging/greybus/connection.c
+++ b/
drivers/staging/greybus/connection.c
@@
-152,7
+152,7
@@
_gb_connection_create(struct gb_host_device *hd, int hd_cport_id,
goto err_unlock;
}
- ret = gb_hd_cport_allocate(hd, hd_cport_id);
+ ret = gb_hd_cport_allocate(hd, hd_cport_id
, flags
);
if (ret < 0) {
dev_err(&hd->dev, "failed to allocate cport: %d\n", ret);
goto err_unlock;