diff options
| author | Dharma Balasubiramani <[email protected]> | 2025-10-06 10:51:50 +0000 |
|---|---|---|
| committer | William Breathitt Gray <[email protected]> | 2025-10-13 05:56:30 +0000 |
| commit | 109ff654934a4752f8875ded672efd1fbfe4d31d (patch) | |
| tree | 9160da45cc30566473ba96dfdc06dfe5e313ceed /scripts/basic/docproc.c | |
| parent | Linux 6.18-rc1 (diff) | |
| download | kernel-109ff654934a4752f8875ded672efd1fbfe4d31d.tar.gz kernel-109ff654934a4752f8875ded672efd1fbfe4d31d.zip | |
counter: microchip-tcb-capture: Allow shared IRQ for multi-channel TCBs
Mark the interrupt as IRQF_SHARED to permit multiple counter channels to
share the same TCB IRQ line.
Each Timer/Counter Block (TCB) instance shares a single IRQ line among its
three internal channels. When multiple counter channels (e.g., counter@0
and counter@1) within the same TCB are enabled, the second call to
devm_request_irq() fails because the IRQ line is already requested by the
first channel.
Cc: [email protected]
Fixes: e5d581396821 ("counter: microchip-tcb-capture: Add IRQ handling")
Signed-off-by: Dharma Balasubiramani <[email protected]>
Reviewed-by: Kamel Bouhara <[email protected]>
Reviewed-by: Bence Csókás <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: William Breathitt Gray <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions
