drm/radeon: make missing smc ucode non-fatal (CI)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Oct 2013 15:40:48 +0000 (11:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Oct 2013 20:16:17 +0000 (16:16 -0400)
Prevent driver load problems if the smc is missing.

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=63011

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/cik.c

index 8f393df..9cd2bc9 100644 (file)
@@ -1694,6 +1694,7 @@ static int cik_init_microcode(struct radeon_device *rdev)
                               fw_name);
                        release_firmware(rdev->smc_fw);
                        rdev->smc_fw = NULL;
+                       err = 0;
                } else if (rdev->smc_fw->size != smc_req_size) {
                        printk(KERN_ERR
                               "cik_smc: Bogus length %zu in firmware \"%s\"\n",