commit | c5649ee49761f5367c46c5ae6579ab8e8b03575d | [log] [tgz] |
---|---|---|
author | Vincent Abriou <vincent.abriou@st.com> | Thu Feb 02 09:49:02 2017 +0100 |
committer | Vincent Abriou <vincent.abriou@st.com> | Fri Feb 10 09:34:39 2017 +0100 |
tree | 6bf45a1847cb24c9720e14565b6c59605cd8ec77 | |
parent | 1b7f145123f4d59e6b88a83b507c7981df0ee701 [diff] |
drm/sti: do not set gdp pixel clock rate if mode is not set Fix a division by 0 case : in some cases, when the GDP plane is being disabled atomic_check() is called with "mode->clock = 0". In that case, do not set parent and pixel clock rate. Signed-off-by: Vincent Abriou <vincent.abriou@st.com>