]> 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)
commit948d84b7d6177b601721507f2a90caee5f9c6a6d
tree7104a606c1d488b28d4b4a12fa273c301d32e254
parent5b7cf53e1f855954deff4491379915e3d3b02bc2
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