]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: tc358767: fix AUXDATAn registers access
authorAndrey Gusakov <andrey.gusakov@cogentembedded.com>
Tue, 7 Nov 2017 16:56:23 +0000 (19:56 +0300)
committerAndrzej Hajda <a.hajda@samsung.com>
Thu, 30 Nov 2017 06:56:12 +0000 (07:56 +0100)
commit1dcda4c5b25a6d4ab40121ad4d95cbf99d3ff9f1
tree7e37fe8bdb1e03c578327927874f269f0f3eb85e
parent8169318a0adc0c5d2eb5c2a27aaaec8a4c3555c5
drm/bridge: tc358767: fix AUXDATAn registers access

First four bytes should go to DP0_AUXWDATA0. Due to bug if
len > 4 first four bytes was writen to DP0_AUXWDATA1 and all
data get shifted by 4 bytes. Fix it.

Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1510073785-16108-6-git-send-email-andrey.gusakov@cogentembedded.com
drivers/gpu/drm/bridge/tc358767.c