Skip to content
Commit a7ca52e1 authored by Zach Reizner's avatar Zach Reizner Committed by Dave Airlie
Browse files

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: default avatarStéphane Marchesin <marcheu@chromium.org>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent b0fcfc89
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment