summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/ec.c
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2017-07-11 12:45:43 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-07-12 13:11:49 +0200
commit1dc482b6578e2869e51c35276017178503d5ac81 (patch)
tree56ded243b17c929a1d4c09e12307c60953d00a0c /drivers/acpi/ec.c
parent6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c (diff)
downloadlinux-stable-1dc482b6578e2869e51c35276017178503d5ac81.tar.gz
linux-stable-1dc482b6578e2869e51c35276017178503d5ac81.tar.bz2
linux-stable-1dc482b6578e2869e51c35276017178503d5ac81.zip
ACPI / irq: Fix return code of acpi_gsi_to_irq()
The function acpi_gsi_to_irq() must return 0 on success as the caller ghes_probe expects an 0 for success. This change also matches x86 implementation. This patch was submitted around 4.5 timeframe but wasn't pushed because it didn't fix a real problem. Now that RAS/GHES patches are in kernel, this fixes an error seen on a Mustang (arm64) platform: GHES: Failed to map GSI to IRQ for generic hardware error source: 2 GHES: probe of GHES.2 failed with error 81 Signed-off-by: Tuan Phan <tphan@apm.com> Signed-off-by: Loc Ho <lho@apm.com> Signed-off-by: Mark Salter <msalter@redhat.com> Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/ec.c')
0 files changed, 0 insertions, 0 deletions