diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2019-11-28 17:55:16 +0300 |
---|---|---|
committer | Li Yang <leoyang.li@nxp.com> | 2019-12-09 22:54:30 +0300 |
commit | 273e66721e368764659dde52ee4702567c921f49 (patch) | |
tree | 0e4d5b68f6295bc7e20ae952cff4abca45c49d3d /arch/powerpc/platforms/85xx/corenet_generic.c | |
parent | ea275d1f07c1f2fbaa48f0e100ee23a80ac909dc (diff) | |
download | linux-273e66721e368764659dde52ee4702567c921f49.tar.xz |
soc: fsl: qe: use qe_ic_cascade_{low, high}_mpic also on 83xx
The *_ipic and *_mpic handlers are almost identical - the only
difference is that the latter end with an unconditional
chip->irq_eoi() call. Since IPIC does not have ->irq_eoi, we can
reduce some code duplication by calling irq_eoi conditionally.
This is similar to what is already done in mpc8xxx_gpio_irq_cascade().
This leaves the functions slightly misnamed, but that will be fixed in
a subsequent patch.
Reviewed-by: Timur Tabi <timur@kernel.org>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'arch/powerpc/platforms/85xx/corenet_generic.c')
0 files changed, 0 insertions, 0 deletions