Remove the unneded hack, I never run into that code and see it really
works.
Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>
else
#endif
{
- gctINT j = 0;
-
- for (; j < 100; j++)
- {
- status = gckHARDWARE_SetPowerState(hardware, state);
-
- if ((state != gcvPOWER_OFF_BROADCAST &&
- state != gcvPOWER_SUSPEND_BROADCAST) ||
- status != gcvSTATUS_CHIP_NOT_READY)
- {
- break;
- }
-
- gcmkVERIFY_OK(gckOS_Delay(hardware->os, 10));
- }
-
- gcmkERR_RETURN(status);
+ gcmkERR_RETURN(gckHARDWARE_SetPowerState(hardware, state));
}
/* Reset stored state. */