MSM-GOV-DCS: Allow for a delay for cpu1 to become ready
/arch/arm/mach-msm/msm_dcvs.c
blob:c547d8c56321cbb96c1e212088203ec2cbebcc1a -> blob:c4b99df3369de1f5b2ad2f29a2da830af3ee8247
--- arch/arm/mach-msm/msm_dcvs.c
+++ arch/arm/mach-msm/msm_dcvs.c
@@ -23,6 +23,7 @@
#include <linux/spinlock.h>
#include <linux/stringify.h>
#include <linux/debugfs.h>
+#include <linux/delay.h>
#include <asm/atomic.h>
#include <asm/page.h>
#include <mach/msm_dcvs.h>
@@ -500,6 +501,8 @@ int msm_dcvs_register_core(const char *c
int ret = -EINVAL;
struct dcvs_core *core = NULL;
+ if (strcmp(core_name, (char *)"cpu1") == 0) msleep(CONFIG_CPU_FREQ_MSM_DCVS_CPU1_DELAY);
+
if (!core_name || !core_name[0])
return ret;