mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 06:30:20 -04:00
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: David Lin <dtwlin@google.com> Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Alex Elder <elder@linaro.org>
This commit is contained in:
@@ -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__);
|
||||
struct gb_svc *svc = intf->hd->svc;
|
||||
|
||||
/* FIXME: implement */
|
||||
|
||||
return 0;
|
||||
return gb_svc_intf_set_power_mode_hibernate(svc, intf->interface_id);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user