Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3bc00c17 authored by Suprith Malligere Shankaregowda's avatar Suprith Malligere Shankaregowda Committed by Gerrit - the friendly Code Review server
Browse files

adv7481: Fix Video split rendering observed on QTVinput



Stabilize adv7481 raw irq status register(IO_REG_INT_RAW_STATUS_ADDR)
read by adding delay in adv7481_irq workqueue schedule.
This resolves video split rendering when hot-unplug and hot-plug
the HDMI IN source.

CRs-Fixed: 2204762
Change-Id: Id2e86c56983318c9855cec881644552eab7810e5
Signed-off-by: default avatarSuprith Malligere Shankaregowda <supgow@codeaurora.org>
parent 63d54f82
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@

#define ONE_MHZ_TO_HZ		1000000
#define I2C_BLOCK_WRITE_SIZE    1024
#define ADV_REG_STABLE_DELAY    70      /* ms*/

enum adv7481_gpio_t {

@@ -476,7 +477,7 @@ static irqreturn_t adv7481_irq(int irq, void *dev)
	struct adv7481_state *state = dev;

	schedule_delayed_work(&state->irq_delayed_work,
						msecs_to_jiffies(0));
				msecs_to_jiffies(ADV_REG_STABLE_DELAY));
	return IRQ_HANDLED;
}