mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-05-20 13:57:31 +00:00
siihdmi: the deferred timeout is not a settle period
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user