commit | a7ca52e108e549669940b11779bb491a931f8c65 | [log] [tgz] |
---|---|---|
author | Zach Reizner <zachr@google.com> | Mon Nov 17 17:19:41 2014 -0800 |
committer | Dave Airlie <airlied@redhat.com> | Thu Nov 20 11:41:26 2014 +1000 |
tree | 290248f5e52ba80d17e82b0bf22103e79b041ea6 | |
parent | b0fcfc899513a4d4729914b6872ab0564c0f523a [diff] |
drm/cirrus: fix leaky driver load error handling 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 <marcheu@chromium.org> Signed-off-by: Dave Airlie <airlied@redhat.com>