greybus: camera: Fix data connection setup
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2016 12:59:24 +0000 (15:59 +0300)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 15 Jun 2016 12:05:47 +0000 (05:05 -0700)
commit3b8ebfeb32daf13ef5fccb7ec3d163783e6a01a2
treefc7d8046588cb78629f502d1afb380414299b502
parentf3d5f6613f0da3ba1135f6e06b9692202fb9920b
greybus: camera: Fix data connection setup

When the module is in the configured state, an attempt to change the
configuration must first tear down the data connection to update its
parameters, as the APB1 bridge doesn't support modifying the CSI
transmitter configuration when it is already started.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Gjorgji Rosikopulos <grosikopulos@mm-sol.com>
Tested-by: Gjorgji Rosikopulos <grosikopulos@mm-sol.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/camera.c