summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPedro Perez de Heredia <pedro.perez@digi.com>2012-02-26 13:21:54 +0100
committerPedro Perez de Heredia <pedro.perez@digi.com>2012-02-26 13:21:54 +0100
commitf2f651fb097fed944ca6f52ad4fc11cc7979c5f4 (patch)
tree58879373b84126b4348da1bdfa0249a1994d3582 /include
parent80e108e8230ff1055aea30dfe9835f2b2e51e8f5 (diff)
ad9389 hdmi: fix monitor config problems (#42030)
This commit fixes some initialization/configuration problems that were happening with some screens due to the generation of multiple hot plug events. This commit disables the interrupts during a configurable period to avoid this reconfigurations that some screens doesnt tolerate well. Fixes #42030 for most screens. The NANNSPREE still doesnt work very well but that monitor presents a strange behavior (also in WinCE). Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/ad9389.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/ad9389.h b/include/video/ad9389.h
index 837cb5306fdc..9ed9807007ed 100644
--- a/include/video/ad9389.h
+++ b/include/video/ad9389.h
@@ -34,6 +34,7 @@ struct ad9389_dev {
struct mutex irq_lock;
struct i2c_client *client;
struct work_struct work;
+ struct timer_list timer;
struct i2c_client *edid_ram;
struct fb_info *fbi;
u8 *edid_data;
@@ -44,6 +45,7 @@ struct ad9389_pdata {
int dispif;
enum hdmi_mode mode;
void *data;
+ unsigned int debounce_ms;
unsigned char edid_addr;
/* function callbacks */