mirror of https://github.com/torvalds/linux.git
Counter fixes for 6.18
A fix to permit multiple counter channels to share the same TCB IRQ line for microchip-tcb-cpature. -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCaQC8JAAKCRC1SFbKvhIj K2MPAQDbLvcKpIVOtjZwnDx+RGxDmNJSlEISr50oNE2y+jl+sAD+M6o6R9qC/65M necaUF+dMgc+eykQGY9yVol0lJqDzA4= =md+0 -----END PGP SIGNATURE----- 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
This commit is contained in:
commit
76992675d7
|
|
@ -451,7 +451,7 @@ static void mchp_tc_irq_remove(void *ptr)
|
||||||
static int mchp_tc_irq_enable(struct counter_device *const counter, int irq)
|
static int mchp_tc_irq_enable(struct counter_device *const counter, int irq)
|
||||||
{
|
{
|
||||||
struct mchp_tc_data *const priv = counter_priv(counter);
|
struct mchp_tc_data *const priv = counter_priv(counter);
|
||||||
int ret = devm_request_irq(counter->parent, irq, mchp_tc_isr, 0,
|
int ret = devm_request_irq(counter->parent, irq, mchp_tc_isr, IRQF_SHARED,
|
||||||
dev_name(counter->parent), counter);
|
dev_name(counter->parent), counter);
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue