]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: arche-platform: Disable clock as part of driver remove
authorVaibhav Hiremath <vaibhav.hiremath@linaro.org>
Tue, 26 Jan 2016 01:53:29 +0000 (07:23 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 26 Jan 2016 04:08:55 +0000 (20:08 -0800)
commitd8b16338df9bcef1fa0a047bd3e8d2e922dc5bb8
tree2a103a69e022c622963e2727df1e2f8390b48d76
parent4fbf69c71cdd3248745fd842481e946d1685f13c
greybus: arche-platform: Disable clock as part of driver remove

As part of driver remove (cleanup) function, disable the clock for both
SVC, APB1 & APB2.

Testing Done:
Tested on EVT1 platform with Connect=>disconnect=>connect
iteration, almost close to 100 iterations have passed (demo branch).
And also tested with kernel-only build.

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