[PATCH 01/13] drm/gma500: Sanity-check pipe index

2015-08-13 Thread Patrik Jakobsson
On Wed, Aug 12, 2015 at 5:00 PM, Thierry Reding wrote: > From: Thierry Reding > > If the DSI output isn't connected, then mdfld_dsi_encoder_get_pipe() > will return -1. The mdfld_dsi_dp_mode_set() function doesn't properly > check for this condition and causes the following compiler warnings: > >

[PATCH 01/13] drm/gma500: Sanity-check pipe index

2015-08-12 Thread Thierry Reding
From: Thierry Reding If the DSI output isn't connected, then mdfld_dsi_encoder_get_pipe() will return -1. The mdfld_dsi_dp_mode_set() function doesn't properly check for this condition and causes the following compiler warnings: CC drivers/gpu/drm/gma500/mdfld_dsi_dpi.o dr