We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59b723c commit f16beaaCopy full SHA for f16beaa
drivers/thermal/qcom/lmh.c
@@ -73,7 +73,14 @@ static struct irq_chip lmh_irq_chip = {
73
static int lmh_irq_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw)
74
{
75
struct lmh_hw_data *lmh_data = d->host_data;
76
+ static struct lock_class_key lmh_lock_key;
77
+ static struct lock_class_key lmh_request_key;
78
79
+ /*
80
+ * This lock class tells lockdep that GPIO irqs are in a different
81
+ * category than their parents, so it won't report false recursion.
82
+ */
83
+ irq_set_lockdep_class(irq, &lmh_lock_key, &lmh_request_key);
84
irq_set_chip_and_handler(irq, &lmh_irq_chip, handle_simple_irq);
85
irq_set_chip_data(irq, lmh_data);
86
0 commit comments