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>
This commit is contained in:
Родитель
197616e227
Коммит
96f5ab00c2
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче