diff options
| author | Vincent Abriou <[email protected]> | 2017-02-02 08:49:02 +0000 |
|---|---|---|
| committer | Vincent Abriou <[email protected]> | 2017-02-10 08:34:39 +0000 |
| commit | c5649ee49761f5367c46c5ae6579ab8e8b03575d (patch) | |
| tree | 6bf45a1847cb24c9720e14565b6c59605cd8ec77 /drivers/net/xen-netback/interface.c | |
| parent | drm/sti: enable gdp pixel clock in atomic_update (diff) | |
| download | kernel-c5649ee49761f5367c46c5ae6579ab8e8b03575d.tar.gz kernel-c5649ee49761f5367c46c5ae6579ab8e8b03575d.zip | |
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 <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
