mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
greybus: arche-apb-ctrl: Set default state value to OFF
Explicitly set default apb->state value to ARCHE_PLATFORM_STATE_OFF in probe() fn. Testing Done: Tested on EVT1.2 and DB3.5 platform Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
5667ab1799
commit
f2222a41db
1 changed files with 3 additions and 0 deletions
|
|
@ -236,6 +236,9 @@ int arche_apb_ctrl_probe(struct platform_device *pdev)
|
|||
return ret;
|
||||
}
|
||||
|
||||
/* Initially set APB to OFF state */
|
||||
apb->state = ARCHE_PLATFORM_STATE_OFF;
|
||||
|
||||
ret = apb_ctrl_coldboot_seq(pdev, apb);
|
||||
if (ret) {
|
||||
dev_err(dev, "failed to set init state of control signal %d\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue