Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc28c2c2 authored by David Lin's avatar David Lin Committed by Alex Elder
Browse files

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: default avatarDavid Lin <dtwlin@google.com>
Reviewed-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
parent c7dc28ff
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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);
}

/*