greybus: camera: Stream config change unipro speed
authorJacopo Mondi <jacopo.mondi@linaro.org>
Sun, 24 Jan 2016 03:44:46 +0000 (19:44 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 26 Jan 2016 03:36:13 +0000 (19:36 -0800)
commit4fbf69c71cdd3248745fd842481e946d1685f13c
treecb0abd8a87098b499c094c62a188c4099a99fffe
parent539d6e11d266bceb597bc416060f9f2888bbd89f
greybus: camera: Stream config change unipro speed

Unipro network speed was increased at camera initialization time and
never slowed down.
This unnecessary drains power during the entire time camera module is
plugged in.
Increasing/decreasing unipro link speed before issuing stream
configuration request to camera module prevents this from happening.

Signed-off-by: Jacopo Mondi <jacopo.mondi@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/camera.c