[PATCH] drm/cirrus: fix leaky driver load error handling

2014-12-01 Thread Sean Paul
On Mon, Nov 17, 2014 at 5:19 PM, Zach Reizner wrote: > Before this patch, cirrus_device_init could have failed while > cirrus_mm_init succeeded and the driver would have reported overall > success on load. This patch causes cirrus_device_init to return on > the first error encountered. > > Reviewe

[PATCH] drm/cirrus: fix leaky driver load error handling

2014-11-17 Thread Zach Reizner
Before this patch, cirrus_device_init could have failed while cirrus_mm_init succeeded and the driver would have reported overall success on load. This patch causes cirrus_device_init to return on the first error encountered. Reviewed-by: Stéphane Marchesin --- drivers/gpu/drm/cirrus/cirrus_mai