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

greybus: camera: Configure link speed for the data connection

Hardcode the speed to HS-G1 for now.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 784f8761
......@@ -576,6 +576,16 @@ static int gb_camera_connection_init(struct gb_connection *connection)
if (ret < 0)
goto error;
ret = gb_svc_link_config(svc, connection->intf->interface_id,
GB_SVC_LINK_CONFIG_BURST_HS_A, 1, 1, 0);
if (ret < 0)
goto error;
ret = gb_svc_link_config(svc, svc->ap_intf_id,
GB_SVC_LINK_CONFIG_BURST_HS_A, 1, 1, 0);
if (ret < 0)
goto error;
gcam->data_connected = true;
ret = gb_camera_debugfs_init(gcam);
......
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