summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-arizona.c
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>2015-03-30 10:41:19 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-03-30 11:39:30 +0200
commit8a5c0bde54ca0354ae8b7e9d37d17bc514aa6c42 (patch)
treed1aeadd849f84f077a05c8c30e283b3d9da03ee6 /drivers/extcon/extcon-arizona.c
parent7ef5f82b100716b23de7d2da6ff602b0842e5804 (diff)
downloadtalos-obmc-linux-8a5c0bde54ca0354ae8b7e9d37d17bc514aa6c42.tar.gz
talos-obmc-linux-8a5c0bde54ca0354ae8b7e9d37d17bc514aa6c42.zip
drm/atomic: Clear crtcs, connectors and planes when clearing state
Users of the atomic state assume that if the pointer to a crtc, plane or connector is not NULL in the respective object vector, than the state for that object in *_states vector also won't be NULL. That assumption was broken by drm_atomic_state_clear(), which would clear the state pointer but leave the pointer to the object still set. This fixes a NULL pointer dereference in i915 caused by the use of drm_atomic_state_clear(). Cc: dri-devel@lists.freedesktop.org Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/extcon/extcon-arizona.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud