.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2015 - Ben Herrenschmidt, IBM Corp. |
---|
3 | 4 | * |
---|
.. | .. |
---|
7 | 8 | * |
---|
8 | 9 | * Copyright (C) 1999 - 2003 ARM Limited |
---|
9 | 10 | * Copyright (C) 2000 Deep Blue Solutions Ltd |
---|
10 | | - * |
---|
11 | | - * This program is free software; you can redistribute it and/or modify |
---|
12 | | - * it under the terms of the GNU General Public License as published by |
---|
13 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
14 | | - * (at your option) any later version. |
---|
15 | | - * |
---|
16 | | - * This program is distributed in the hope that it will be useful, |
---|
17 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
18 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
19 | | - * GNU General Public License for more details. |
---|
20 | | - * |
---|
21 | 11 | */ |
---|
22 | 12 | |
---|
23 | 13 | #include <linux/export.h> |
---|
.. | .. |
---|
81 | 71 | writel(0, vic->base + AVIC_INT_SELECT); |
---|
82 | 72 | writel(0, vic->base + AVIC_INT_SELECT + 4); |
---|
83 | 73 | |
---|
84 | | - /* Some interrupts have a programable high/low level trigger |
---|
| 74 | + /* Some interrupts have a programmable high/low level trigger |
---|
85 | 75 | * (4 GPIO direct inputs), for now we assume this was configured |
---|
86 | 76 | * by firmware. We read which ones are edge now. |
---|
87 | 77 | */ |
---|
.. | .. |
---|
213 | 203 | } |
---|
214 | 204 | vic->base = regs; |
---|
215 | 205 | |
---|
216 | | - /* Initialize soures, all masked */ |
---|
| 206 | + /* Initialize sources, all masked */ |
---|
217 | 207 | vic_init_hw(vic); |
---|
218 | 208 | |
---|
219 | 209 | /* Ready to receive interrupts */ |
---|