]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: camera: Reset link speed on failed config
authorJacopo Mondi <jacopo.mondi@linaro.org>
Fri, 5 Feb 2016 08:35:32 +0000 (09:35 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 6 Feb 2016 00:37:34 +0000 (16:37 -0800)
commitf121d79d8acb0852f42b42b111967a3ef265362b
tree03ab3359cd4442b7ab0451c84da2a6978577e059
parent6084653541ac5fb619c4338e6fa6a9d5d4a51713
greybus: camera: Reset link speed on failed config

Improve the management of unipro power mode changes in response
to a configure_stream operation.
When sending a "test only" request to camera module, do not change power
mode to HS-G2 as no frame will be actually transmitted.
When receiveing an "adjusted" configuration response, reset power
mode to PWM-G1.

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