The cleanup_irq() was meant to clear and mask interrupts that were
left enabled in the hardware but there was no interrupt handler
registered for it. Add an error print when it gets invoked.
Change-Id: Iccf0daadeb82b0fca29829424439ac225e2b3b88
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: David Collins <collinsd@codeaurora.org>
The spmi arbiter device spawns spmi_devices which in turn spawn
platform_devices for pmic peripherals.
Move the arbiter's driver init to arch_initcall so that the subsequent
devices it spawns get instantiated earlier.
Change-Id: Ib96937f274745549ee86f758673aab4db97acbaf
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
[collinsd@codeaurora.org: added module exit function]
Signed-off-by: David Collins <collinsd@codeaurora.org>
A spmi controller may have many child devices, which together may take
a signifigant amount of time to register and probe. Reduce this effect
by probing asynchronously.
After:
[ 0.277217] calling__software_resume+0x0/0x24c_@_1
Before:
[ 0.319295] calling__software_resume+0x0/0x24c_@_1
Change-Id: I95704a2ae7aae98e23dc9f29c7d023867d60388d
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Swathi Sridhar <swatsrid@codeaurora.org>
Remove usage of wakeup_source_init API as the support for this
API is removed in wakeup.c file. Instead use wakeup_source_register
and wakeup_source_unregister APIs.
Change-Id: I0d7f759e6bf0388c713f7ffc4f157e61a25278be
Signed-off-by: Prudhvi Yarlagadda <pyarlaga@codeaurora.org>
Setup fwnode when adding parent domain in hireachy. This is
required by gpiolib.
Change-Id: I5e63320fb874fb05f548bf55e9fd8409de2095d0
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Since commit <d5470d1443> ("kbuild: re-implement
Makefile.headersinst without recursion"), the headers_install
excludes Kbuild from providing information regarding uapi headers.
In fact, it recursively pulls all the headers from a given path,
in this case techpack/*. This isn't correct as techpack/ may have
non-uapi headers as well, which shouldn't be considered. Hence,
strictly look for include/uapi/$dir directory for the uapi headers.
Change-Id: Ic7b3f927bc962729da1b87ed90e5f50a1e4cd5c5
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>