greybus: camera-gb: Remove hardcode for CSI TX number of lanes
authorEvgeniy Borisov <borisov_evgeniy@projectara.com>
Mon, 18 Apr 2016 13:27:36 +0000 (16:27 +0300)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 21 Apr 2016 02:19:28 +0000 (11:19 +0900)
commit698bdcbf87f3c8a2f998058d58f4baa8ab8e192a
tree72e5182b2c2126e197fcf0699da48c7de4f8852e
parent9504677c9a9ef4123e4bc9fb8f6903b92453ea6f
greybus: camera-gb: Remove hardcode for CSI TX number of lanes

The number of CSI TX lanes is hardcoded to 4. Removing
this and start using value from configure stream response.

NOTE: The patch depends on the CSI init change:
"Use GB CSI params to init camera sub-devs"

Signed-off-by: Evgeniy Borisov <eborisov@mm-sol.com>
Reviewed-by: Gjorgji Rosikopulos <grosikopulos@mm-sol.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/camera.c