Re: [PATCH 2/2] gpio: mvebu: fix gpio bank registration when pwm is used

2017-05-30 Thread Richard Genoud
2017-05-30 17:14 GMT+02:00 Ralph Sennhauser : > Hi Richard > > On Tue, 30 May 2017 16:45:24 +0200 > Richard Genoud wrote: > >> 2017-05-30 15:16 GMT+02:00 Gregory CLEMENT >> : >> > Hi Richard, >> Hi Greg ! >> >> > >> > On mar., mai 30 2017, Richard Genoud >> > wrote: >> >> If more than one gpio b

Re: [PATCH 2/2] gpio: mvebu: fix gpio bank registration when pwm is used

2017-05-30 Thread Ralph Sennhauser
Hi Richard On Tue, 30 May 2017 16:45:24 +0200 Richard Genoud wrote: > 2017-05-30 15:16 GMT+02:00 Gregory CLEMENT > : > > Hi Richard, > Hi Greg ! > > > > > On mar., mai 30 2017, Richard Genoud > > wrote: > >> If more than one gpio bank has the "pwm" property, only one will be > >> registere

Re: [PATCH 2/2] gpio: mvebu: fix gpio bank registration when pwm is used

2017-05-30 Thread Richard Genoud
2017-05-30 15:16 GMT+02:00 Gregory CLEMENT : > Hi Richard, Hi Greg ! > > On mar., mai 30 2017, Richard Genoud wrote: > >> If more than one gpio bank has the "pwm" property, only one will be >> registered successfully, all the others will fail with: >> mvebu-gpio: probe of f1018140.gpio failed wi

Re: [PATCH 2/2] gpio: mvebu: fix gpio bank registration when pwm is used

2017-05-30 Thread Gregory CLEMENT
Hi Richard, On mar., mai 30 2017, Richard Genoud wrote: > If more than one gpio bank has the "pwm" property, only one will be > registered successfully, all the others will fail with: > mvebu-gpio: probe of f1018140.gpio failed with error -17 > > That's because in alloc_pwms(), the chip->base