]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dsi: Report PHY errors only when they really occur
authorArchit Taneja <architt@codeaurora.org>
Thu, 25 Jun 2015 05:59:24 +0000 (11:29 +0530)
committerRob Clark <robdclark@gmail.com>
Sat, 15 Aug 2015 22:27:14 +0000 (18:27 -0400)
commit52f8c38db222f9e9a128242f3304c4a347c205ff
tree7104a606c1d488b28d4b4a12fa273c301d32e254
parent7794a75c1479803f59748af332f8dc912617585c
drm/msm/dsi: Report PHY errors only when they really occur

DSI PHY errors are falsely reported whenever a dsi error occurs. This is
because DSI_DLN0_PHY_ERR isn't only used as a status register, but also
used to mask PHY errors. Currently, we end up reading the mask bits too
and therefore always report errors.

Ignore the register mask bits and check for only the status/clear bits.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi_host.c