summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com>2026-01-05 16:08:00 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-01-08 15:01:16 +0300
commit813feab1ac5256b423157f005b3a844a4b2841b5 (patch)
tree18ca99b8c40e96ce4104ded16fce2b60964b1944 /include
parent8e7148b5602321be48614bcde048cbe1c738ce3e (diff)
downloadlinux-813feab1ac5256b423157f005b3a844a4b2841b5.tar.xz
net: dsa: microchip: Initialize IRQ's mask outside common_setup()
The IRQ logic of the KSZ8463 differs from that of other KSZ switches. It doesn't have a 'mask' register but an 'enable' one instead. The common IRQ framework can still be used though as soon as we reverse the logic (using '1' to enable interrupts instead of '0') for KSZ8463 cases. Move the initialization of the kirq->masked outside of ksz_irq_common_setup() to keep this function truly common when IRQ support for the KSZ8463 is added. Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com> Link: https://patch.msgid.link/20260105-ksz-rework-v1-1-a68df7f57375@bootlin.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions