Re: [PATCH] staging: mt7621-pci: don't return if get gpio fails

2020-03-21 Thread Sergio Paracuellos
Hi Greg, On Sat, Mar 21, 2020 at 7:28 AM Greg Ungerer wrote: > > Hi Sergio, > > On 21/3/20 1:25 am, Sergio Paracuellos wrote: > > On Fri, Mar 20, 2020 at 4:08 PM Greg Ungerer wrote: > >> On 21/3/20 12:38 am, Sergio Paracuellos wrote: > >>> On Fri, Mar 20, 2020 at 3:30 PM Greg Ungerer wrote: >

Re: [PATCH] staging: mt7621-pci: don't return if get gpio fails

2020-03-21 Thread Greg Ungerer
Hi Sergio, On 21/3/20 1:25 am, Sergio Paracuellos wrote: On Fri, Mar 20, 2020 at 4:08 PM Greg Ungerer wrote: On 21/3/20 12:38 am, Sergio Paracuellos wrote: On Fri, Mar 20, 2020 at 3:30 PM Greg Ungerer wrote: On 20/3/20 2:14 am, Sergio Paracuellos wrote: [snip] rt2880-pinmux pinctrl: pcie

Re: [PATCH] staging: mt7621-pci: don't return if get gpio fails

2020-03-20 Thread Sergio Paracuellos
Hi Greg, On Fri, Mar 20, 2020 at 4:08 PM Greg Ungerer wrote: > > Hi Sergio, > > On 21/3/20 12:38 am, Sergio Paracuellos wrote: > > On Fri, Mar 20, 2020 at 3:30 PM Greg Ungerer wrote: > >> On 20/3/20 2:14 am, Sergio Paracuellos wrote: > [snip] > >> rt2880-pinmux pinctrl: pcie is already enabled

Re: [PATCH] staging: mt7621-pci: don't return if get gpio fails

2020-03-20 Thread Greg Ungerer
Hi Sergio, On 21/3/20 12:38 am, Sergio Paracuellos wrote: On Fri, Mar 20, 2020 at 3:30 PM Greg Ungerer wrote: On 20/3/20 2:14 am, Sergio Paracuellos wrote: [snip] rt2880-pinmux pinctrl: pcie is already enabled mt7621-pci 1e14.pcie: Error applying setting, reverse things back

Re: [PATCH] staging: mt7621-pci: don't return if get gpio fails

2020-03-20 Thread Sergio Paracuellos
Hi Greg, On Fri, Mar 20, 2020 at 3:30 PM Greg Ungerer wrote: > > Hi Sergio, > > On 20/3/20 2:14 am, Sergio Paracuellos wrote: > > In some platforms gpio's are not used for reset but > > for other purposes. Because of that when we try to > > get them are valid gpio's but are already assigned > >

Re: [PATCH] staging: mt7621-pci: don't return if get gpio fails

2020-03-20 Thread Greg Ungerer
Hi Sergio, On 20/3/20 2:14 am, Sergio Paracuellos wrote: In some platforms gpio's are not used for reset but for other purposes. Because of that when we try to get them are valid gpio's but are already assigned to do other function. To avoid those kind of problems in those platforms just notice

[PATCH] staging: mt7621-pci: don't return if get gpio fails

2020-03-19 Thread Sergio Paracuellos
In some platforms gpio's are not used for reset but for other purposes. Because of that when we try to get them are valid gpio's but are already assigned to do other function. To avoid those kind of problems in those platforms just notice the fail in the kernel but continue doing normal boot.