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:
@@ -246,7 +246,8 @@ static int footswitch_disable(struct regulator_dev *rdev)
|
||||
return rc;
|
||||
|
||||
/* Allow core memory to collapse when its clock is gated. */
|
||||
clk_set_flags(fs->core_clk, CLKFLAG_NORETAIN);
|
||||
if (fs->desc.id != FS_GFX3D_8064)
|
||||
clk_set_flags(fs->core_clk, CLKFLAG_NORETAIN);
|
||||
|
||||
/* Halt all bus ports in the power domain. */
|
||||
if (fs->bus_port0) {
|
||||
|
||||
Reference in New Issue
Block a user