diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-09-19 16:58:57 +0000 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-02-04 12:32:04 +0200 |
commit | a87a6d6b09de3118e5679c2057b99b7791b7673b (patch) | |
tree | 669887b685004b13504cde0e768be5f8844330fd /include/video | |
parent | fa0c52ab232656d5a730eba73b5e37c70acb78db (diff) | |
download | lwn-a87a6d6b09de3118e5679c2057b99b7791b7673b.tar.gz lwn-a87a6d6b09de3118e5679c2057b99b7791b7673b.zip |
OMAPDSS: encoder-tpd12s015: Fix race issue with LS_OE
A race issue has been observed with the encoder-tpd12s015 driver, which
leads to errors when trying to read EDID. This has only now been
observed, as OMAP4 and OMAP5 boards used SoC's GPIOs for LS_OE GPIO. On
dra7-evm boards, the LS_OE is behind a i2c controlled GPIO expander,
which increases the time to set the LS_OE.
This patch simplifies the handling of the LS_OE gpio in the driver by
removing the interrupt handling totally. The only time we actually need
to enable LS_OE is when we are reading the EDID, and thus we can just
set and clear the LS_OE gpio inside the read_edid() function.
This also has the additional benefit of very slightly decreasing the
power consumption.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions