[PATCH 04/15] ARM: OMAP2+: hwmod: Update the reset API for AM33XX
Bedia, Vaibhav
vaibhav.bedia at ti.com
Mon Nov 5 12:57:52 EST 2012
On Mon, Nov 05, 2012 at 12:28:36, Hiremath, Vaibhav wrote:
[...]
> > - u32 mask = 1 << shift;
> > -
> > - /* Check the current status to avoid de-asserting the line twice */
> > - if (am33xx_prm_is_hardreset_asserted(shift, inst, rstctrl_offs) == 0)
> > - return -EEXIST;
>
> Any specific reason why you have removed this check?
During bootup the hardreset line is asserted, so wouldn't that check lead
to the function always returning without doing anything?
Regards,
Vaibhav
More information about the linux-arm-kernel
mailing list