Re: [PATCH v3] ARM: OMAP2+: hwmod: Fix _wait_target_ready() for hwmods without sysc

2015-07-28 Thread Roger Quadros
On 28/07/15 16:15, Paul Walmsley wrote: > On Mon, 27 Jul 2015, Roger Quadros wrote: > >> Hi, >> >> On 16/07/15 16:16, Roger Quadros wrote: >>> For hwmods without sysc, _init_mpu_rt_base(oh) won't be called and so >>> _find_mpu_rt_port(oh) will return NULL thus preventing ready state check >>> on t

Re: [PATCH v3] ARM: OMAP2+: hwmod: Fix _wait_target_ready() for hwmods without sysc

2015-07-28 Thread Paul Walmsley
On Mon, 27 Jul 2015, Roger Quadros wrote: > Hi, > > On 16/07/15 16:16, Roger Quadros wrote: > > For hwmods without sysc, _init_mpu_rt_base(oh) won't be called and so > > _find_mpu_rt_port(oh) will return NULL thus preventing ready state check > > on those modules after the module is enabled. > >

Re: [PATCH v3] ARM: OMAP2+: hwmod: Fix _wait_target_ready() for hwmods without sysc

2015-07-27 Thread Roger Quadros
Hi, On 16/07/15 16:16, Roger Quadros wrote: > For hwmods without sysc, _init_mpu_rt_base(oh) won't be called and so > _find_mpu_rt_port(oh) will return NULL thus preventing ready state check > on those modules after the module is enabled. > > This can potentially cause a bus access error if the m

[PATCH v3] ARM: OMAP2+: hwmod: Fix _wait_target_ready() for hwmods without sysc

2015-07-16 Thread Roger Quadros
For hwmods without sysc, _init_mpu_rt_base(oh) won't be called and so _find_mpu_rt_port(oh) will return NULL thus preventing ready state check on those modules after the module is enabled. This can potentially cause a bus access error if the module is accessed before the module is ready. Fix this