[PATCH] mfd: mt6397: Use set_irq_flags only on ARM

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Mar 9 09:23:28 PDT 2015


On Wed, Mar 04, 2015 at 08:59:07AM +0100, Uwe Kleine-König wrote:
> While this is what everyone does, I wonder why ARM is special here.
> Has this only historic reasons and needs refurbishment?

We have platforms where we need to ensure that certain interrupts can't
be requested.

Unfortunately, that was never properly dealt with when genirq came
along, and we're pretty much stuck with this situation: going through
and working out what the restrictions were is a much bigger problem
than it was when genirq first happened.  I don't see how we could
sanely fix this now.

What we should probably at least do is work out a way that we can kill
that ifdef, so we don't have the same hack appearing in many drivers.

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.



More information about the Linux-mediatek mailing list