drm/i915/uc: Move fw path check to fetch_uc_fw()
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 30 Mar 2017 11:21:15 +0000 (11:21 +0000)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Fri, 31 Mar 2017 07:39:40 +0000 (10:39 +0300)
commitb57f7f7d31c0ffef5faabd4bf68b8d2577da389a
treebebbfc1fa2740e658fad2dae8c0351177d7c7901
parent40908230e8da7a49f65bccd4d78f09e100bafff0
drm/i915/uc: Move fw path check to fetch_uc_fw()

There is no reason to separately check for valid fw path before
we try to fetch it. Let the fetch function take care of this.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170330112115.120240-2-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/intel_uc.c