diff options
author | Girish S Ghongdemath <girishsg@ti.com> | 2011-07-26 23:22:28 -0500 |
---|---|---|
committer | Girish S G <girishsg@ti.com> | 2011-07-27 06:03:33 -0500 |
commit | 23b84f98d32f603e60604917d689f5de3670648f (patch) | |
tree | 9d035e889dd37727da71fc1f739f4a82451151a0 | |
parent | 0d5c2a7b9e128bbf7f86be2fb83f4573fda95025 (diff) | |
download | kernel_samsung_tuna-23b84f98d32f603e60604917d689f5de3670648f.zip kernel_samsung_tuna-23b84f98d32f603e60604917d689f5de3670648f.tar.gz kernel_samsung_tuna-23b84f98d32f603e60604917d689f5de3670648f.tar.bz2 |
OMAP4: HSI: Tesla: set to RET after wakeup
Upon HSI cawake, it also wakesup Tesla because of satic dep
set HSI towards DSP. Tesla has to be reset back so that it
can be allowed to idle again.
As per observation, this issue seems to occur with OFF mode enabled.
With RET mode Tesla idles properly. However, this patch keeps the
workaround as is and sets the next state of tesla to RET. Else this causes
unnecessary sleep switch on Tesla in late suspend call causing
it to be ON always.
REVISIT needed:
- When OFF mode is enabled, for setting proper next state.
- For verifying power-on reset of DSP is done correctly.
- For removing magic numbers.
Change-Id: I74cc1528cf501c46d86dec8f2d7e35c9e2b88d49
Signed-off-by: Girish S G <girishsg@ti.com>
-rw-r--r-- | drivers/omap_hsi/hsi_driver_int.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/omap_hsi/hsi_driver_int.c b/drivers/omap_hsi/hsi_driver_int.c index ce67e5f..41c3707 100644 --- a/drivers/omap_hsi/hsi_driver_int.c +++ b/drivers/omap_hsi/hsi_driver_int.c @@ -452,7 +452,7 @@ int hsi_do_cawake_process(struct hsi_port *pport) if (omap_readl(0x4A306404) != 0x0) { omap_writel(0x00000002, 0x4A004400); omap_writel(0x003F0703, 0x4A306400); - omap_writel(0x003F0700, 0x4A306400); + omap_writel(0x003F0701, 0x4A306400); omap_writel(0x00000003, 0x4A004400); } /* Force HSI to ON_ACTIVE when CAWAKE is high */ |