Commit b1c7d67e authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Greg Kroah-Hartman

greybus: camera: Set link power mode to HS-G2 with 2 lanes

HS-G1 isn't enough for all camera modules. The gear will need to be
computed dynamically, but for now hardcode it to 2 with 2 lanes.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 142b21fe
...@@ -600,12 +600,12 @@ static int gb_camera_connection_init(struct gb_connection *connection) ...@@ -600,12 +600,12 @@ static int gb_camera_connection_init(struct gb_connection *connection)
goto error; goto error;
ret = gb_svc_link_config(svc, connection->intf->interface_id, ret = gb_svc_link_config(svc, connection->intf->interface_id,
GB_SVC_LINK_CONFIG_BURST_HS_A, 1, 1, 0); GB_SVC_LINK_CONFIG_BURST_HS_A, 2, 2, 0);
if (ret < 0) if (ret < 0)
goto error; goto error;
ret = gb_svc_link_config(svc, svc->ap_intf_id, ret = gb_svc_link_config(svc, svc->ap_intf_id,
GB_SVC_LINK_CONFIG_BURST_HS_A, 1, 1, 0); GB_SVC_LINK_CONFIG_BURST_HS_A, 2, 2, 0);
if (ret < 0) if (ret < 0)
goto error; goto error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment