Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296261
b: refs/heads/master
c: c402c11
h: refs/heads/master
i:
  296259: 96898b2
v: v3
  • Loading branch information
Russell King committed Mar 24, 2012
1 parent d7f63c4 commit 7fa76b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6e747b4b83c2290b465aabd1ac006332430e2b2e
refs/heads/master: c402c110721ed53916595473aed1013acde95bab
5 changes: 3 additions & 2 deletions trunk/arch/arm/mach-rpc/ecard.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ static expansioncard_ops_t ecard_default_ops = {
*/
static void ecard_irq_unmask(struct irq_data *d)
{
ecard_t *ec = slot_to_ecard(d->irq - 32);
ecard_t *ec = irq_data_get_irq_chip_data(d);

if (ec) {
if (!ec->ops)
Expand All @@ -461,7 +461,7 @@ static void ecard_irq_unmask(struct irq_data *d)

static void ecard_irq_mask(struct irq_data *d)
{
ecard_t *ec = slot_to_ecard(d->irq - 32);
ecard_t *ec = irq_data_get_irq_chip_data(d);

if (ec) {
if (!ec->ops)
Expand Down Expand Up @@ -1039,6 +1039,7 @@ ecard_probe(int slot, card_type_t type)
ec->irq = 32 + slot;
irq_set_chip_and_handler(ec->irq, &ecard_chip,
handle_level_irq);
irq_set_chip_data(ec->irq, ec);
set_irq_flags(ec->irq, IRQF_VALID);
}

Expand Down

0 comments on commit 7fa76b4

Please sign in to comment.