Commit 0c5ca367 authored by Mamta Shukla's avatar Mamta Shukla Committed by Greg Kroah-Hartman

staging: mt7621-pci: Add spaces around '|'

Add spaces around '|' to fix checkpatch issue
CHECK: spaces preferred around that '|' (ctx:VxV)
Signed-off-by: default avatarMamta Shukla <mamtashukla555@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8f36481f
...@@ -644,7 +644,7 @@ pcie(2/1/0) link status pcie2_num pcie1_num pcie0_num ...@@ -644,7 +644,7 @@ pcie(2/1/0) link status pcie2_num pcie1_num pcie0_num
switch (pcie_link_status) { switch (pcie_link_status) {
case 7: case 7:
val = read_config(pcie, 2, 0x4); 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 = read_config(pcie, 2, 0x70c);
val &= ~(0xff)<<8; val &= ~(0xff)<<8;
val |= 0x50<<8; val |= 0x50<<8;
...@@ -653,14 +653,14 @@ pcie(2/1/0) link status pcie2_num pcie1_num pcie0_num ...@@ -653,14 +653,14 @@ pcie(2/1/0) link status pcie2_num pcie1_num pcie0_num
case 5: case 5:
case 6: case 6:
val = read_config(pcie, 1, 0x4); 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 = read_config(pcie, 1, 0x70c);
val &= ~(0xff)<<8; val &= ~(0xff)<<8;
val |= 0x50<<8; val |= 0x50<<8;
write_config(pcie, 1, 0x70c, val); write_config(pcie, 1, 0x70c, val);
default: default:
val = read_config(pcie, 0, 0x4); 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 = read_config(pcie, 0, 0x70c);
val &= ~(0xff)<<8; val &= ~(0xff)<<8;
val |= 0x50<<8; val |= 0x50<<8;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment