Fix MCHBAR cleanup on the driver init error path
authorImre Deak <imre.deak@intel.com>
Wed, 16 Mar 2016 11:38:50 +0000 (13:38 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 17 Mar 2016 13:22:03 +0000 (15:22 +0200)
commit066de1aadf6aba1911560cf90a5bc8e25ca1aae9
tree7c72885b80cda5daa16071fbdb93fefce81f36a6
parentee4b6faf96a990d2acc30084f4edf015ca21b9c4
Fix MCHBAR cleanup on the driver init error path

MCHBAR is cleaned up in i915_mmio_cleanup(), so the separate call in
i915_driver_load() is incorrect.

CC: David Weinehall <david.weinehall@intel.com>
Fixes: ad5c3d3ffbb2 ("drm/i915: Move MCHBAR setup earlier during init")
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: David Weinehall <david.weinehall@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1458128348-15730-2-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_dma.c