drm/bridge/synopsys: dsi: readl_poll_timeout return value clean up
authorPhilippe CORNU <philippe.cornu@st.com>
Sun, 4 Feb 2018 21:36:24 +0000 (22:36 +0100)
committerAndrzej Hajda <a.hajda@samsung.com>
Mon, 5 Mar 2018 13:08:16 +0000 (14:08 +0100)
commit669b710e5e30328bc41de88aaab5422913a39074
tree447442d5a4a29f8cc90fd54bd1d0ac03a88a42c9
parent5fcdc9d9816266c575ef21586327ba04d7db5c2c
drm/bridge/synopsys: dsi: readl_poll_timeout return value clean up

The readl_poll_timeout() return value is 0 in case of success
so it is better to detect errors without taking care of the
return value sign.

Signed-off-by: Philippe Cornu <philippe.cornu@st.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180204213624.18288-1-philippe.cornu@st.com
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c