greybus: arche-apb-ctrl: Enable the clocks after regulator enable
authorVaibhav Hiremath <vaibhav.hiremath@linaro.org>
Wed, 13 Jan 2016 20:36:47 +0000 (02:06 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 13 Jan 2016 23:54:55 +0000 (15:54 -0800)
commitaa187d33129ba102756600aa27f6e7992a6c814a
treead98cf7816c2907b740d79a68458b43759b9fab0
parent3a8dba4e57d11965fa8f649753dc1507dd8331eb
greybus: arche-apb-ctrl: Enable the clocks after regulator enable

It makes more sense to enable the clock after power is enabled
to the device, so move clock enable code after regulator_enable
and setting up BOOT_RET pin.

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