Преглед изворни кода

Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6

Steve French пре 15 година
родитељ
комит
dfae0acd26
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      drivers/mfd/twl4030-irq.c

+ 2 - 2
drivers/mfd/twl4030-irq.c

@@ -568,12 +568,12 @@ static void twl4030_sih_do_edge(struct work_struct *work)
 
 		bytes[byte] &= ~(0x03 << off);
 
-		spin_lock_irq(&d->lock);
+		raw_spin_lock_irq(&d->lock);
 		if (d->status & IRQ_TYPE_EDGE_RISING)
 			bytes[byte] |= BIT(off + 1);
 		if (d->status & IRQ_TYPE_EDGE_FALLING)
 			bytes[byte] |= BIT(off + 0);
-		spin_unlock_irq(&d->lock);
+		raw_spin_unlock_irq(&d->lock);
 
 		edge_change &= ~BIT(i);
 	}