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

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

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

2014-12-01 Thread Zach Reizner
Before this patch, cirrus_mm_init could have failed while cirrus_modeset_init succeeded and the driver would have reported overall success on load. This patch causes cirrus_driver_load to return on the first error encountered. Reviewed-by: Stéphane Marchesin Signed-off-by: Zach Reizner --- dri