diff options
author | davidycchen <davidycchen@google.com> | 2021-09-22 15:54:21 +0800 |
---|---|---|
committer | davidycchen <davidycchen@google.com> | 2021-09-30 14:26:24 +0800 |
commit | 8dbeaa2288f4b3dcf8ed4a28a56eab5aed82dfa6 (patch) | |
tree | d00360c78e4f8baf7c2bd426e3c2e173796ef861 /syna_tcm2_runtime.h | |
parent | b1dd3f807cf4d1fe152ee09cca0f08b910c65248 (diff) | |
download | synaptics_touch-8dbeaa2288f4b3dcf8ed4a28a56eab5aed82dfa6.tar.gz |
synaptics: use drm_bridge for touch power sequence
Listen to display states by drm_bridge for touch suspend/resume.
Bug: 199104450
Bug: 201375583
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: Ie88153c7b53971bb2441b6c01cca17ea9bb12dc0
Diffstat (limited to 'syna_tcm2_runtime.h')
-rw-r--r-- | syna_tcm2_runtime.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/syna_tcm2_runtime.h b/syna_tcm2_runtime.h index b5ef979..cc21e9c 100644 --- a/syna_tcm2_runtime.h +++ b/syna_tcm2_runtime.h @@ -59,7 +59,9 @@ #include <linux/uaccess.h> #include <linux/crc32.h> #include <linux/firmware.h> -#ifdef CONFIG_DRM_PANEL +#if defined(USE_DRM_BRIDGE) +#include <drm/drm_bridge.h> +#elif defined(CONFIG_DRM_PANEL) #include <drm/drm_panel.h> #elif CONFIG_FB #include <linux/fb.h> |