diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-05-27 17:26:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-05-27 12:19:29 -0700 |
commit | 96f5ab00c2a1bfc698bb9a51301f1cc1f83aa8e2 (patch) | |
tree | 002dfb35825b2ac3c13590b16f12adf8605fbd64 /drivers/staging | |
parent | 197616e227b5b562814828df4dac9477e27b0149 (diff) |
greybus: svc: add stub connection-quiescing operation
Add stubbed out connection-quiescing operation that is needed for proper
connection tear down.
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/greybus/svc.c | 10 | ||||
-rw-r--r-- | drivers/staging/greybus/svc.h | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/drivers/staging/greybus/svc.c b/drivers/staging/greybus/svc.c index 2b3b8d98053c..4176e231b14a 100644 --- a/drivers/staging/greybus/svc.c +++ b/drivers/staging/greybus/svc.c @@ -438,6 +438,16 @@ int gb_svc_connection_create(struct gb_svc *svc, } EXPORT_SYMBOL_GPL(gb_svc_connection_create); +void gb_svc_connection_quiescing(struct gb_svc *svc, u8 intf1_id, u16 cport1_id, + u8 intf2_id, u16 cport2_id) +{ + /* FIXME: implement */ + + dev_dbg(&svc->dev, "%s - (%u:%u %u:%u)\n", __func__, + intf1_id, cport1_id, intf2_id, cport2_id); +} +EXPORT_SYMBOL_GPL(gb_svc_connection_quiescing); + void gb_svc_connection_destroy(struct gb_svc *svc, u8 intf1_id, u16 cport1_id, u8 intf2_id, u16 cport2_id) { diff --git a/drivers/staging/greybus/svc.h b/drivers/staging/greybus/svc.h index e3e0aa14b08d..7a78c5bffbe6 100644 --- a/drivers/staging/greybus/svc.h +++ b/drivers/staging/greybus/svc.h @@ -64,6 +64,8 @@ int gb_svc_route_create(struct gb_svc *svc, u8 intf1_id, u8 dev1_id, void gb_svc_route_destroy(struct gb_svc *svc, u8 intf1_id, u8 intf2_id); int gb_svc_connection_create(struct gb_svc *svc, u8 intf1_id, u16 cport1_id, u8 intf2_id, u16 cport2_id, u8 cport_flags); +void gb_svc_connection_quiescing(struct gb_svc *svc, u8 intf1_id, u16 cport1_id, + u8 intf2_id, u16 cport2_id); void gb_svc_connection_destroy(struct gb_svc *svc, u8 intf1_id, u16 cport1_id, u8 intf2_id, u16 cport2_id); int gb_svc_intf_eject(struct gb_svc *svc, u8 intf_id); |