mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04: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
1 changed files with 3 additions and 3 deletions
|
|
@ -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 a new issue