mirror of https://github.com/hak5/openwrt.git
ramips: mt7620: fix bad indent
Fix the indent to make the make it obvious which condition is the parent of the loop. Signed-off-by: Mathias Kresin <dev@kresin.me>openwrt-19.07
parent
22ae14d0e7
commit
1ea1f3a223
|
@ -154,13 +154,12 @@ static void mt7620_hw_init(struct mt7620_gsw *gsw, int mdio_mode)
|
|||
_mt7620_mii_write(gsw, 1, 31, 0x1000);
|
||||
_mt7620_mii_write(gsw, 1, 17, 0xe7f8);
|
||||
|
||||
/* turn on all PHYs */
|
||||
for (i = 0; i <= 4; i++) {
|
||||
val = _mt7620_mii_read(gsw, i, 0);
|
||||
val &= ~BIT(11);
|
||||
_mt7620_mii_write(gsw, i, 0, val);
|
||||
}
|
||||
|
||||
/* turn on all PHYs */
|
||||
for (i = 0; i <= 4; i++) {
|
||||
val = _mt7620_mii_read(gsw, i, 0);
|
||||
val &= ~BIT(11);
|
||||
_mt7620_mii_write(gsw, i, 0, val);
|
||||
}
|
||||
}
|
||||
|
||||
/* global page 0 */
|
||||
|
|
Loading…
Reference in New Issue