From: Laurent Pinchart Date: Sat, 19 Dec 2015 06:38:56 +0000 (+0200) Subject: greybus: camera: Set link power mode to HS-G2 with 2 lanes X-Git-Tag: v4.9.8~1233^2~378^2~21^2~907 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b1c7d67e886be3baf1b2e1f061d09f758709ba9b;p=platform%2Fkernel%2Flinux-rpi3.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/camera.c b/drivers/staging/greybus/camera.c index 556226a..592c3ef 100644 --- a/drivers/staging/greybus/camera.c +++ b/drivers/staging/greybus/camera.c @@ -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;