Re: [PATCH] staging: mt7621-pci: simplify 'mt7621_pcie_init_virtual_bridges' function

2020-04-10 Thread Sergio Paracuellos
Hi Neil, On Sat, Apr 11, 2020 at 5:26 AM NeilBrown wrote: > > On Sun, Mar 08 2020, Sergio Paracuellos wrote: > > > Function 'mt7621_pcie_init_virtual_bridges' is a bit mess and can be > > refactorized properly in a cleaner way. Introduce new 'pcie_rmw' inline > > function helper to do clear and

Re: [PATCH] staging: mt7621-pci: simplify 'mt7621_pcie_init_virtual_bridges' function

2020-04-10 Thread NeilBrown
On Sun, Mar 08 2020, Sergio Paracuellos wrote: > Function 'mt7621_pcie_init_virtual_bridges' is a bit mess and can be > refactorized properly in a cleaner way. Introduce new 'pcie_rmw' inline > function helper to do clear and set the correct bits this function needs > to work. > > Signed-off-by:

[PATCH] staging: mt7621-pci: simplify 'mt7621_pcie_init_virtual_bridges' function

2020-03-08 Thread Sergio Paracuellos
Function 'mt7621_pcie_init_virtual_bridges' is a bit mess and can be refactorized properly in a cleaner way. Introduce new 'pcie_rmw' inline function helper to do clear and set the correct bits this function needs to work. Signed-off-by: Sergio Paracuellos --- Changes are only compile tested.