Change-Id: Id95be1b44b03e59b945430de8603fff36633ea21
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
PMUCAL_SAVE_RESTORE,
PMUCAL_COND_SAVE_RESTORE,
PMUCAL_WAIT,
+ PMUCAL_RAW_WAIT,
PMUCAL_CHECK_SKIP,
PMUCAL_COND_CHECK_SKIP,
#ifdef CONFIG_FLEXPMU
return 0;
}
+static void pmucal_rae_raw_wait(struct pmucal_seq *seq)
+{
+ while (1) {
+ if (pmucal_rae_check_value(seq))
+ break;
+ }
+}
+
static inline void pmucal_rae_read(struct pmucal_seq *seq)
{
u32 reg;
if (ret)
return ret;
break;
+ case PMUCAL_RAW_WAIT:
+ pmucal_rae_raw_wait(&seq[i]);
+ break;
#ifdef CONFIG_FLEXPMU
case PMUCAL_WRITE_WAIT:
pmucal_rae_write(&seq[i]);