summaryrefslogtreecommitdiffstats
path: root/drivers/uio/uio_fsl_elbc_gpcm.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2018-02-09 08:30:44 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2018-03-01 08:18:18 +0100
commite6204a58b9e9ad01ab9c6d4b8b2b8b9c4e38bbba (patch)
treee3cbd9eef09a592bcf3e25438d6f3edf61e19954 /drivers/uio/uio_fsl_elbc_gpcm.c
parentdrm/omap: fbdev: avoid double initializer entry (diff)
downloadlinux-e6204a58b9e9ad01ab9c6d4b8b2b8b9c4e38bbba.tar.xz
linux-e6204a58b9e9ad01ab9c6d4b8b2b8b9c4e38bbba.zip
drm/omap: fix omap_fbdev_free() when omap_fbdev_create() wasn't called
If we have no crtcs/connectors, fbdev init goes fine, but omap_fbdev_create() is never called. This means that omap_fbdev->bo is NULL and omap_fbdev_free() crashes. Add a check to omap_fbdev_free() to handle the NULL case. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/uio/uio_fsl_elbc_gpcm.c')
0 files changed, 0 insertions, 0 deletions