drm/amd/powerplay: fix spelling mistake: "dividable" -> "divisible"
authorColin Ian King <colin.king@canonical.com>
Thu, 28 Sep 2017 10:35:52 +0000 (11:35 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Sep 2017 20:03:29 +0000 (16:03 -0400)
Trivial fix to spelling mistakes in pr_err error message and ASSERT
messages.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/ci_smc.c
drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c

index 8fb0aa027b547ea84d95189225122e63468d6f01..0017b9e62404015df20f49ee3603779ca3f5a03e 100644 (file)
@@ -2331,7 +2331,7 @@ static int ci_load_smc_ucode(struct pp_hwmgr *hwmgr)
        PHM_WRITE_FIELD(hwmgr->device, SMC_IND_ACCESS_CNTL, AUTO_INCREMENT_IND_0, 0);
 
        if (0 != byte_count) {
-               pr_err("SMC size must be dividable by 4\n");
+               pr_err("SMC size must be divisible by 4\n");
                return -EINVAL;
        }
 
index 78aa1122eaccea720a7b314345a70ec0730acd3e..a778e174ba01237b71928a61f9b4765b3a0fbb99 100644 (file)
@@ -108,7 +108,7 @@ static int iceland_upload_smc_firmware_data(struct pp_hwmgr *hwmgr,
 
        PHM_WRITE_FIELD(hwmgr->device, SMC_IND_ACCESS_CNTL, AUTO_INCREMENT_IND_0, 0);
 
-       PP_ASSERT_WITH_CODE((0 == byte_count), "SMC size must be dividable by 4.", return -EINVAL);
+       PP_ASSERT_WITH_CODE((0 == byte_count), "SMC size must be divisible by 4.", return -EINVAL);
 
        return 0;
 }
index 2ae05bbdb9740da1d11e8a27d5db2ad45a8f4375..c997117f2461bae908f739e5fe15e142d2a4e5a8 100644 (file)
@@ -513,7 +513,7 @@ static int smu7_upload_smc_firmware_data(struct pp_hwmgr *hwmgr, uint32_t length
 
        PHM_WRITE_FIELD(hwmgr->device, SMC_IND_ACCESS_CNTL, AUTO_INCREMENT_IND_11, 0);
 
-       PP_ASSERT_WITH_CODE((0 == byte_count), "SMC size must be dividable by 4.", return -EINVAL);
+       PP_ASSERT_WITH_CODE((0 == byte_count), "SMC size must be divisible by 4.", return -EINVAL);
 
        return 0;
 }