greybus: arche-platform: Power-off unipro subsystem upon suspend
authorDavid Lin <dtwlin@google.com>
Fri, 15 Apr 2016 19:45:15 +0000 (01:15 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 15 Apr 2016 21:42:53 +0000 (14:42 -0700)
commit9160b7c7652a80f48250bbdc151fa0af3ccf024f
treebc36b14862404205c5cb59cf9fce12e93bb4a7fb
parent777471a445242e34c790b5b80d031a013933fd05
greybus: arche-platform: Power-off unipro subsystem upon suspend

Switch off APBs/SVC/Switch in the suspend call notifier. Note that
this is an interim solution to enable fishfooding.

Testing done:
 - Passed QA sanity test on EVT1.5
 - Suspend current measured at ~70mW

Signed-off-by: David Lin <dtwlin@google.com>
Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
[vaibhav.hiremath@linaro.org: Updated commit description]
Tested-by: Sandeep Patil <sspatil@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/arche-platform.c