amba-pl08x.c (e3c55d406bd8df1a878546002c93db90c42be10c) | amba-pl08x.c (174b537ac2b8fe1bac31039185b80f873716c5a1) |
---|---|
1/* 2 * Copyright (c) 2006 ARM Ltd. 3 * Copyright (c) 2010 ST-Ericsson SA 4 * 5 * Author: Peter Pearse <peter.pearse@arm.com> 6 * Author: Linus Walleij <linus.walleij@stericsson.com> 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 2119 unchanged lines hidden (view full) --- 2128 2129 /* Turn on the PL08x */ 2130 pl08x_ensure_on(pl08x); 2131 2132 /* Attach the interrupt handler */ 2133 writel(0x000000FF, pl08x->base + PL080_ERR_CLEAR); 2134 writel(0x000000FF, pl08x->base + PL080_TC_CLEAR); 2135 | 1/* 2 * Copyright (c) 2006 ARM Ltd. 3 * Copyright (c) 2010 ST-Ericsson SA 4 * 5 * Author: Peter Pearse <peter.pearse@arm.com> 6 * Author: Linus Walleij <linus.walleij@stericsson.com> 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 2119 unchanged lines hidden (view full) --- 2128 2129 /* Turn on the PL08x */ 2130 pl08x_ensure_on(pl08x); 2131 2132 /* Attach the interrupt handler */ 2133 writel(0x000000FF, pl08x->base + PL080_ERR_CLEAR); 2134 writel(0x000000FF, pl08x->base + PL080_TC_CLEAR); 2135 |
2136 ret = request_irq(adev->irq[0], pl08x_irq, IRQF_DISABLED, 2137 DRIVER_NAME, pl08x); | 2136 ret = request_irq(adev->irq[0], pl08x_irq, 0, DRIVER_NAME, pl08x); |
2138 if (ret) { 2139 dev_err(&adev->dev, "%s failed to request interrupt %d\n", 2140 __func__, adev->irq[0]); 2141 goto out_no_irq; 2142 } 2143 2144 /* Initialize physical channels */ 2145 pl08x->phy_chans = kzalloc((vd->channels * sizeof(*pl08x->phy_chans)), --- 181 unchanged lines hidden --- | 2137 if (ret) { 2138 dev_err(&adev->dev, "%s failed to request interrupt %d\n", 2139 __func__, adev->irq[0]); 2140 goto out_no_irq; 2141 } 2142 2143 /* Initialize physical channels */ 2144 pl08x->phy_chans = kzalloc((vd->channels * sizeof(*pl08x->phy_chans)), --- 181 unchanged lines hidden --- |