“864709302a80f26fa9da3be5b47304f0b8bae192”上不存在“tools/lib/subcmd/exec-cmd.h”
提交 cc28c2c2 编写于 作者: D David Lin 提交者: Alex Elder

greybus: interface: implement unipro link hibernate call

Adds AP implementation of unipro link hibernation set power mode call
needed for proper cport closure and interface suspend and power off
transition.
Signed-off-by: NDavid Lin <dtwlin@google.com>
Reviewed-by: NJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: NAlex Elder <elder@linaro.org>
上级 c7dc28ff
......@@ -641,11 +641,9 @@ static int gb_interface_activate_operation(struct gb_interface *intf)
static int gb_interface_hibernate_link(struct gb_interface *intf)
{
dev_dbg(&intf->dev, "%s\n", __func__);
/* FIXME: implement */
struct gb_svc *svc = intf->hd->svc;
return 0;
return gb_svc_intf_set_power_mode_hibernate(svc, intf->interface_id);
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册