mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 19:23:57 +08:00
staging: mt7621-pci: Add spaces around '|'
Add spaces around '|' to fix checkpatch issue CHECK: spaces preferred around that '|' (ctx:VxV) Signed-off-by: Mamta Shukla <mamtashukla555@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8f36481fbb
commit
0c5ca367ad
@ -644,7 +644,7 @@ pcie(2/1/0) link status pcie2_num pcie1_num pcie0_num
|
||||
switch (pcie_link_status) {
|
||||
case 7:
|
||||
val = read_config(pcie, 2, 0x4);
|
||||
write_config(pcie, 2, 0x4, val|0x4);
|
||||
write_config(pcie, 2, 0x4, val | 0x4);
|
||||
val = read_config(pcie, 2, 0x70c);
|
||||
val &= ~(0xff)<<8;
|
||||
val |= 0x50<<8;
|
||||
@ -653,14 +653,14 @@ pcie(2/1/0) link status pcie2_num pcie1_num pcie0_num
|
||||
case 5:
|
||||
case 6:
|
||||
val = read_config(pcie, 1, 0x4);
|
||||
write_config(pcie, 1, 0x4, val|0x4);
|
||||
write_config(pcie, 1, 0x4, val | 0x4);
|
||||
val = read_config(pcie, 1, 0x70c);
|
||||
val &= ~(0xff)<<8;
|
||||
val |= 0x50<<8;
|
||||
write_config(pcie, 1, 0x70c, val);
|
||||
default:
|
||||
val = read_config(pcie, 0, 0x4);
|
||||
write_config(pcie, 0, 0x4, val|0x4); //bus master enable
|
||||
write_config(pcie, 0, 0x4, val | 0x4); //bus master enable
|
||||
val = read_config(pcie, 0, 0x70c);
|
||||
val &= ~(0xff)<<8;
|
||||
val |= 0x50<<8;
|
||||
|
Loading…
Reference in New Issue
Block a user