Skip to content

Commit 7699267

Browse files
committed
Merge tag 'counter-fixes-for-6.18' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/wbg/counter into char-misc-next
William writes: Counter fixes for 6.18 A fix to permit multiple counter channels to share the same TCB IRQ line for microchip-tcb-cpature. * tag 'counter-fixes-for-6.18' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/wbg/counter: counter: microchip-tcb-capture: Allow shared IRQ for multi-channel TCBs
2 parents dcb6fa3 + 109ff65 commit 7699267

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/counter/microchip-tcb-capture.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ static void mchp_tc_irq_remove(void *ptr)
451451
static int mchp_tc_irq_enable(struct counter_device *const counter, int irq)
452452
{
453453
struct mchp_tc_data *const priv = counter_priv(counter);
454-
int ret = devm_request_irq(counter->parent, irq, mchp_tc_isr, 0,
454+
int ret = devm_request_irq(counter->parent, irq, mchp_tc_isr, IRQF_SHARED,
455455
dev_name(counter->parent), counter);
456456

457457
if (ret < 0)

0 commit comments

Comments
 (0)