From 05d7bcef3fc4a17722eb3d6a61eae0b5c8bcf846 Mon Sep 17 00:00:00 2001 From: Ray Zhang Date: Wed, 17 May 2017 14:34:23 +0800 Subject: clk: mdss: fix bugs when parsing mdss regulators There are two definitions of struct dss_vreg in mdss driver. One is used during parsing regulators from device tree file, the other is used when operating regulators. This introduces different understanding of dss_vreg data in these two places. Future plan is to have only one definition for these shared data structure. Currently only make dss_vreg in sync to fix this issue. CRs-Fixed: 2054371 Change-Id: I4f16e1409c832432fa1df73b0ae030176b664e58 Signed-off-by: Ray Zhang --- include/linux/sde_io_util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/linux/sde_io_util.h b/include/linux/sde_io_util.h index 6bd5c168ecd8..da4a50722984 100644 --- a/include/linux/sde_io_util.h +++ b/include/linux/sde_io_util.h @@ -58,6 +58,8 @@ struct dss_vreg { int post_on_sleep; int pre_off_sleep; int post_off_sleep; + bool lp_disable_allowed; + bool disabled; }; struct dss_gpio { -- cgit v1.2.3