siihdmi: the deferred timeout is not a settle period

This commit is contained in:
Saleem Abdulrasool
2011-01-30 08:40:24 -08:00
parent 4dfc578385
commit 82d7751991
2 changed files with 3 additions and 4 deletions

View File

@@ -66,9 +66,6 @@ static unsigned int bus_timeout = 50;
module_param(bus_timeout, uint, 0644);
MODULE_PARM_DESC(bus_timeout, "bus timeout in milliseconds");
static unsigned int i2c_settle_time = 50;
module_param(i2c_settle_time, uint, 0644);
MODULE_PARM_DESC(i2c_settle_time, "time to wait for i2c to settle in ms");
/*
* Interesting note:
@@ -919,7 +916,7 @@ static irqreturn_t siihdmi_hotplug_handler(int irq, void *dev_id)
struct siihdmi_tx *tx = ((struct siihdmi_tx *) dev_id);
schedule_delayed_work(&tx->hotplug,
msecs_to_jiffies(i2c_settle_time));
msecs_to_jiffies(SIIHDMI_HOTPLUG_HANDLER_TIMEOUT));
return IRQ_HANDLED;
}

View File

@@ -142,6 +142,8 @@
#define SIIHDMI_BASE_TPI_REVISION (0x29)
#define SIIHDMI_CTRL_INFO_FRAME_DRAIN_TIME (0x80)
#define SIIHDMI_HOTPLUG_HANDLER_TIMEOUT (0x32)
/* Input Bus and Pixel Repetition */
#define SIIHDMI_PIXEL_REPETITION_DUAL (1 << 0)
#define SIIHDMI_PIXEL_REPETITION_QUAD (3 << 0)