greybus: arche-apb-ctrl: deassert reset at the end of probe
authorVaibhav Hiremath <vaibhav.hiremath@linaro.org>
Mon, 11 Jan 2016 12:11:23 +0000 (17:41 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 11 Jan 2016 23:58:10 +0000 (15:58 -0800)
commitf1e9cbd5a097aa6ec62f261bdf44879bbaefb72a
tree09b0e9f1193e9f92d683f8683869b0aef5d5ce75
parent33036178bf04a06ad7e87513c76d7075959088e8
greybus: arche-apb-ctrl: deassert reset at the end of probe

Now the complete handshaking between AP<=>SVC would be
offloaded to parent driver (arche-platform) who is
responsible for SVC control, so the apb-ctrl driver can
just simply bring APB's out of reset during probe itself.

Along with deasserting reset, this patch renames the local fn
to exclusively use it for reset purpose.

Note that, driver is exporting reset gpio to
user, so user can still flash FW from prompt.

Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Tested-by: Michael Scott <michael.scott@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/arche-apb-ctrl.c