hc
2024-05-11 297b60346df8beafee954a0fd7c2d64f33f3b9bc
kernel/drivers/net/wireless/broadcom/b43legacy/ilt.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23
34 Broadcom B43legacy wireless driver
....@@ -8,20 +9,6 @@
89 Danny van Dyk <kugelfang@gentoo.org>
910 Andreas Jaggi <andreas.jaggi@waterwave.ch>
1011
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
- You should have received a copy of the GNU General Public License
22
- along with this program; see the file COPYING. If not, write to
23
- the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
24
- Boston, MA 02110-1301, USA.
2512
2613 */
2714
....@@ -315,14 +302,12 @@
315302 void b43legacy_ilt_write(struct b43legacy_wldev *dev, u16 offset, u16 val)
316303 {
317304 b43legacy_phy_write(dev, B43legacy_PHY_ILT_G_CTRL, offset);
318
- mmiowb();
319305 b43legacy_phy_write(dev, B43legacy_PHY_ILT_G_DATA1, val);
320306 }
321307
322308 void b43legacy_ilt_write32(struct b43legacy_wldev *dev, u16 offset, u32 val)
323309 {
324310 b43legacy_phy_write(dev, B43legacy_PHY_ILT_G_CTRL, offset);
325
- mmiowb();
326311 b43legacy_phy_write(dev, B43legacy_PHY_ILT_G_DATA2,
327312 (val & 0xFFFF0000) >> 16);
328313 b43legacy_phy_write(dev, B43legacy_PHY_ILT_G_DATA1,