aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3548-drm-amdgpu-powerplay-fix-spelling-mistake-unsuported.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3548-drm-amdgpu-powerplay-fix-spelling-mistake-unsuported.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3548-drm-amdgpu-powerplay-fix-spelling-mistake-unsuported.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3548-drm-amdgpu-powerplay-fix-spelling-mistake-unsuported.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3548-drm-amdgpu-powerplay-fix-spelling-mistake-unsuported.patch
new file mode 100644
index 00000000..e3cf97ea
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3548-drm-amdgpu-powerplay-fix-spelling-mistake-unsuported.patch
@@ -0,0 +1,31 @@
+From 70b095ce1966a4731e205986ce7fbb93e23ff3ab Mon Sep 17 00:00:00 2001
+From: Colin Ian King <colin.king@canonical.com>
+Date: Tue, 13 Aug 2019 11:33:40 +0100
+Subject: [PATCH 3548/4256] drm/amdgpu/powerplay: fix spelling mistake
+ "unsuported" -> "unsupported"
+
+There is a spelling mistake in a pr_err error message. Fix it. Also
+add a space after a comma to clean up a checkpatch warning.
+
+Signed-off-by: Colin Ian King <colin.king@canonical.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
+index 46d905daab38..deca9f85764c 100644
+--- a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
++++ b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
+@@ -288,7 +288,7 @@ static int smu_v11_0_check_fw_version(struct smu_context *smu)
+ smu->smc_if_version = SMU11_DRIVER_IF_VERSION_NV14;
+ break;
+ default:
+- pr_err("smu unsuported asic type:%d.\n",smu->adev->asic_type);
++ pr_err("smu unsupported asic type:%d.\n", smu->adev->asic_type);
+ smu->smc_if_version = SMU11_DRIVER_IF_VERSION_INV;
+ break;
+ }
+--
+2.17.1
+