aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1992-gpu-fix-typos-in-code-comments.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1992-gpu-fix-typos-in-code-comments.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1992-gpu-fix-typos-in-code-comments.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1992-gpu-fix-typos-in-code-comments.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1992-gpu-fix-typos-in-code-comments.patch
new file mode 100644
index 00000000..cd5f9ba0
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1992-gpu-fix-typos-in-code-comments.patch
@@ -0,0 +1,31 @@
+From f1fa1b8264cb2b01a634fbea9b80699f21fa9dc6 Mon Sep 17 00:00:00 2001
+From: Weitao Hou <houweitaoo@gmail.com>
+Date: Sat, 18 May 2019 21:41:41 +0800
+Subject: [PATCH 1992/2940] gpu: fix typos in code comments
+
+fix eror to error
+
+Signed-off-by: Weitao Hou <houweitaoo@gmail.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
+index f70437aae8e0..df422440845b 100644
+--- a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
++++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
+@@ -183,8 +183,8 @@ static bool calculate_fb_and_fractional_fb_divider(
+ *RETURNS:
+ * It fills the PLLSettings structure with PLL Dividers values
+ * if calculated values are within required tolerance
+-* It returns - true if eror is within tolerance
+-* - false if eror is not within tolerance
++* It returns - true if error is within tolerance
++* - false if error is not within tolerance
+ */
+ static bool calc_fb_divider_checking_tolerance(
+ struct calc_pll_clock_source *calc_pll_cs,
+--
+2.17.1
+