drm/armada: plug leak in dumb_map_offset
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Nov 2015 09:32:43 +0000 (10:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Dec 2015 15:55:19 +0000 (15:55 +0000)
commit8d6185b55ceadea4fe3d7b451843786c4cae564e
treee83d5e767de97660f97a8215ed2a8bcc2405f31b
parent7a6f7133c573f237f2ed51652a947bc02aeeda4d
drm/armada: plug leak in dumb_map_offset

We need to drop the gem bo reference if it's an imported one.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/armada/armada_gem.c