mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
genirq: fix set_irq_type() when recording trigger type
Impact: fix boot hang on a G5 In set_irq_type() we want to pass the type rather than the current interrupt state. Signed-off-by: Chris Friesen <[email protected]> Acked-by: Benjamin Herrenschmidt <[email protected]> Acked-by: David Brownell <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
a9b6148d25
commit
0b3682ba33
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ int set_irq_type(unsigned int irq, unsigned int type)
|
|||
return 0;
|
||||
|
||||
spin_lock_irqsave(&desc->lock, flags);
|
||||
ret = __irq_set_trigger(desc, irq, flags);
|
||||
ret = __irq_set_trigger(desc, irq, type);
|
||||
spin_unlock_irqrestore(&desc->lock, flags);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue