mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
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: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
142b21fee0
commit
b1c7d67e88
1 changed files with 2 additions and 2 deletions
|
|
@ -600,12 +600,12 @@ static int gb_camera_connection_init(struct gb_connection *connection)
|
|||
goto error;
|
||||
|
||||
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)
|
||||
goto error;
|
||||
|
||||
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)
|
||||
goto error;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue