Commit 6c413cc7 authored by Philipp Zabel's avatar Philipp Zabel Committed by Pierre Ossman

tmio_mmc: don't use set_irq_type

Use an IRQF_TRIGGER_ flag in request_irq instead.
Signed-off-by: default avatarPhilipp Zabel <philipp.zabel@gmail.com>
Acked-by: default avatarIan Molton <ian@mnementh.co.uk>
Signed-off-by: default avatarPierre Ossman <pierre@ossman.eu>
parent 5e74672c
...@@ -597,13 +597,11 @@ static int __devinit tmio_mmc_probe(struct platform_device *dev) ...@@ -597,13 +597,11 @@ static int __devinit tmio_mmc_probe(struct platform_device *dev)
disable_mmc_irqs(host, TMIO_MASK_ALL); disable_mmc_irqs(host, TMIO_MASK_ALL);
ret = request_irq(host->irq, tmio_mmc_irq, IRQF_DISABLED, "tmio-mmc", ret = request_irq(host->irq, tmio_mmc_irq, IRQF_DISABLED |
host); IRQF_TRIGGER_FALLING, "tmio-mmc", host);
if (ret) if (ret)
goto unmap_cnf; goto unmap_cnf;
set_irq_type(host->irq, IRQ_TYPE_EDGE_FALLING);
mmc_add_host(mmc); mmc_add_host(mmc);
printk(KERN_INFO "%s at 0x%08lx irq %d\n", mmc_hostname(host->mmc), printk(KERN_INFO "%s at 0x%08lx irq %d\n", mmc_hostname(host->mmc),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment