Re: [PATCH] pinctrl: single: Fix probe failure getting register area size

2021-05-27 Thread Tom Rini
On Fri, May 07, 2021 at 02:40:34PM +0530, Vignesh Raghavendra wrote: > If reg property of pinctrl-single node requires address translation then > probe fails with following message: > > single-pinctrl pinctrl@4301c000: failed to get base register size > > This is because driver uses dev_read_add

Re: [PATCH] pinctrl: single: Fix probe failure getting register area size

2021-05-18 Thread Dario Binacchi
Hi, > Il 17/05/2021 22:15 Tom Rini ha scritto: > > > On Fri, May 07, 2021 at 02:40:34PM +0530, Vignesh Raghavendra wrote: > > > If reg property of pinctrl-single node requires address translation then > > probe fails with following message: > > > > single-pinctrl pinctrl@4301c000: failed to

Re: [PATCH] pinctrl: single: Fix probe failure getting register area size

2021-05-17 Thread Tom Rini
On Fri, May 07, 2021 at 02:40:34PM +0530, Vignesh Raghavendra wrote: > If reg property of pinctrl-single node requires address translation then > probe fails with following message: > > single-pinctrl pinctrl@4301c000: failed to get base register size > > This is because driver uses dev_read_add

[PATCH] pinctrl: single: Fix probe failure getting register area size

2021-05-07 Thread Vignesh Raghavendra
If reg property of pinctrl-single node requires address translation then probe fails with following message: single-pinctrl pinctrl@4301c000: failed to get base register size This is because driver uses dev_read_addr_size() to get size which also tries to fetch untranslated addr and fails. Fix th