msm: footswitch-8x60: Skip GFX memory power collapse on 8064.

Update footswitch_disable to skip GFX memory power collapse on 8064 to avoid
any voltage droop on vddmx during GFX3D footswitch toggling.

As per hardware designer recommendations this would help to improve system
stability when responding to the inrush current event.

Change-Id: Ifa2f62629f0639d29f882d009dc5f4c10da46ca8
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Signed-off-by: Ed Tam <etam@google.com>
This commit is contained in:
Shashank Mittal
2013-04-05 14:14:52 -07:00
committed by Ed Tam
parent de8743b984
commit f8344559fa

View File

@@ -246,6 +246,7 @@ static int footswitch_disable(struct regulator_dev *rdev)
return rc; return rc;
/* Allow core memory to collapse when its clock is gated. */ /* Allow core memory to collapse when its clock is gated. */
if (fs->desc.id != FS_GFX3D_8064)
clk_set_flags(fs->core_clk, CLKFLAG_NORETAIN); clk_set_flags(fs->core_clk, CLKFLAG_NORETAIN);
/* Halt all bus ports in the power domain. */ /* Halt all bus ports in the power domain. */