summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tiny/st7735r.c
diff options
context:
space:
mode:
authorJohn Stultz <jstultz@google.com>2022-05-11 01:26:12 +0000
committerRobert Foss <robert.foss@linaro.org>2022-05-23 12:17:50 +0200
commit649eb3828fb22e829e222ebd83f4e11dc503a565 (patch)
tree4bc3aa10f786648f148723a862d9bb2568cabe8c /drivers/gpu/drm/tiny/st7735r.c
parent1ff72d434b40d221e2583fab5e1203031d05c059 (diff)
drm/bridge: lt9611: Use both bits for HDMI sensing
In commit 19cf41b64e3b ("lontium-lt9611: check a different register bit for HDMI sensing"), the bit flag used to detect HDMI cable connect was switched from BIT(2) to BIT(0) to improve compatibility with some monitors that didn't seem to set BIT(2). However, with that change, I've seen occasional issues where the detection failed, because BIT(2) was set, but not BIT(0). Unfortunately, as I understand it, the bits and their function was never clearly documented. So lets instead check both (BIT(2) | BIT(0)) when checking the register. Cc: Yongqin Liu <yongqin.liu@linaro.org> Cc: Amit Pundir <amit.pundir@linaro.org> Cc: Peter Collingbourne <pcc@google.com> Cc: Vinod Koul <vkoul@kernel.org> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Robert Foss <robert.foss@linaro.org> Cc: kernel-team@android.com Fixes: 19cf41b64e3b ("lontium-lt9611: check a different register bit for HDMI sensing") Signed-off-by: John Stultz <jstultz@google.com> Reviewed-by: Robert Foss <robert.foss@linaro.org> Signed-off-by: Robert Foss <robert.foss@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20220511012612.3297577-2-jstultz@google.com
Diffstat (limited to 'drivers/gpu/drm/tiny/st7735r.c')
0 files changed, 0 insertions, 0 deletions