summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-twl.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2017-04-11 09:39:49 +0100
committerWill Deacon <will.deacon@arm.com>2017-04-11 16:29:53 +0100
commit7654137071fa706e5c91f4f27bc2a5cd7e435a9b (patch)
tree95842326f7cc3e1d8262a793ba9a3e2818aaa962 /drivers/pwm/pwm-twl.c
parent3a5a89d30ee3d5d8b55490e3c63bf533b196e1c8 (diff)
downloadlinux-next-7654137071fa706e5c91f4f27bc2a5cd7e435a9b.tar.gz
drivers/perf: arm_pmu: handle no platform_device
In armpmu_dispatch_irq() we look at arm_pmu::plat_device to acquire platdata, so that we can defer to platform-specific IRQ handling, required on some 32-bit parts. With the advent of ACPI we won't always have a platform_device, and so we must avoid trying to dereference fields from it. This patch fixes up armpmu_dispatch_irq() to avoid doing so, introducing a new armpmu_get_platdata() helper. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Tested-by: Jeremy Linton <jeremy.linton@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/pwm/pwm-twl.c')
0 files changed, 0 insertions, 0 deletions