]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: ux500: Fix PMU IRQ regression
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Mar 2018 13:20:33 +0000 (14:20 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 7 Mar 2018 15:42:38 +0000 (16:42 +0100)
commit1618874a0f45e449153b11e3df32fe9f77c5dfab
tree7ccbb21d47b94f48fb3abb6da8bef3530565afae
parent4b7f3cda724036ce118b56470a2e8d51c57d3136
ARM: ux500: Fix PMU IRQ regression

Commit d9e4cbcdf885 ("ARM: ux500: remove PMU IRQ bouncer")
deleted some code to bounce and work around the weird PMU
IRQs in the DB8500 ASIC, but did a semantic mistake:
since the auxdata was now unused, the call to
of_platform_populate() was removed, but this does not
work: the default platform population will only kick in
if .init_machine() is assigned NULL, and since the U8540
was still using the callback that was not the case.

Fix this by reinstating the call to of_platform_populate(),
but pass NULL as auxdata.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Fixes: d9e4cbcdf885 ("ARM: ux500: remove PMU IRQ bouncer")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-ux500/cpu-db8500.c