~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to arch/powerpc/platforms/52xx/media5200.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
 
57
57
        spin_lock_irqsave(&media5200_irq.lock, flags);
58
58
        val = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE);
59
 
        val |= 1 << (MEDIA5200_IRQ_SHIFT + irq_map[d->irq].hwirq);
 
59
        val |= 1 << (MEDIA5200_IRQ_SHIFT + irqd_to_hwirq(d));
60
60
        out_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE, val);
61
61
        spin_unlock_irqrestore(&media5200_irq.lock, flags);
62
62
}
68
68
 
69
69
        spin_lock_irqsave(&media5200_irq.lock, flags);
70
70
        val = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE);
71
 
        val &= ~(1 << (MEDIA5200_IRQ_SHIFT + irq_map[d->irq].hwirq));
 
71
        val &= ~(1 << (MEDIA5200_IRQ_SHIFT + irqd_to_hwirq(d)));
72
72
        out_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE, val);
73
73
        spin_unlock_irqrestore(&media5200_irq.lock, flags);
74
74
}