Skip to contentSkip to conversation

cpufreq: Rudimentary typos fix in the file s5pv210-cpufreq.c

PATCH Superseded Bhaskar Chowdhury 4 participants 5 messages Mar 12, 2021

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpufreq: Rudimentary typos fix in the file s5pv210-cpufreq.c

s/untile/until/
s/souce/source/
s/divier/divider/

---
 drivers/cpufreq/s5pv210-cpufreq.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/cpufreq/s5pv210-cpufreq.c +3 -3
index bed496cf8d24..1cfea5339beb 100644
@@ -378,7 +378,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 		/*
 		 * 6. Turn on APLL
 		 * 6-1. Set PMS values
-		 * 6-2. Wait untile the PLL is locked
+		 * 6-2. Wait until the PLL is locked
 		 */
 		if (index == L0)
 			writel_relaxed(APLL_VAL_1000, S5P_APLL_CON);
@@ -390,7 +390,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 		} while (!(reg & (0x1 << 29)));
 
 		/*
-		 * 7. Change souce clock from SCLKMPLL(667Mhz)
+		 * 7. Change source clock from SCLKMPLL(667Mhz)
 		 * to SCLKA2M(200Mhz) in MFC_MUX and G3D MUX
 		 * (667/4=166)->(200/4=50)Mhz
 		 */
@@ -439,7 +439,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 	}
 
 	/*
-	 * L4 level need to change memory bus speed, hence onedram clock divier
+	 * L4 level need to change memory bus speed, hence onedram clock divider
 	 * and memory refresh parameter should be changed
 	 */
 	if (bus_speed_changing) {

--
2.26.2

#1 lore raw
Quoted 33 lines · Bhaskar Chowdhury

s/untile/until/
s/souce/source/
s/divier/divider/

---
 drivers/cpufreq/s5pv210-cpufreq.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/cpufreq/s5pv210-cpufreq.c +2 -2
index bed496cf8d24..1cfea5339beb 100644
@@ -378,7 +378,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 		/*
 		 * 6. Turn on APLL
 		 * 6-1. Set PMS values
-		 * 6-2. Wait untile the PLL is locked
+		 * 6-2. Wait until the PLL is locked
 		 */
 		if (index == L0)
 			writel_relaxed(APLL_VAL_1000, S5P_APLL_CON);
@@ -390,7 +390,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 		} while (!(reg & (0x1 << 29)));
 
 		/*
-		 * 7. Change souce clock from SCLKMPLL(667Mhz)
+		 * 7. Change source clock from SCLKMPLL(667Mhz)
 		 * to SCLKA2M(200Mhz) in MFC_MUX and G3D MUX
 		 * (667/4=166)->(200/4=50)Mhz
 		 */

drivers/cpufreq/s5pv210-cpufreq.c static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index) · line 442

Quoted 5 lines
drivers/cpufreq/s5pv210-cpufreq.c +1 -1
@@ -439,7 +439,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 	}
 
 	/*
-	 * L4 level need to change memory bus speed, hence onedram clock divier
+	 * L4 level need to change memory bus speed, hence onedram clock divider

Also grammar fix: need/needs.

Best regards,
Krzysztof

#2 lore raw
Quoted 36 lines · Krzysztof Kozlowski
Quoted 35 lines · Bhaskar Chowdhury

s/untile/until/
s/souce/source/
s/divier/divider/

---
 drivers/cpufreq/s5pv210-cpufreq.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/cpufreq/s5pv210-cpufreq.c +2 -2
index bed496cf8d24..1cfea5339beb 100644
@@ -378,7 +378,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 		/*
 		 * 6. Turn on APLL
 		 * 6-1. Set PMS values
-		 * 6-2. Wait untile the PLL is locked
+		 * 6-2. Wait until the PLL is locked
 		 */
 		if (index == L0)
 			writel_relaxed(APLL_VAL_1000, S5P_APLL_CON);
@@ -390,7 +390,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 		} while (!(reg & (0x1 << 29)));
 
 		/*
-		 * 7. Change souce clock from SCLKMPLL(667Mhz)
+		 * 7. Change source clock from SCLKMPLL(667Mhz)
 		 * to SCLKA2M(200Mhz) in MFC_MUX and G3D MUX
 		 * (667/4=166)->(200/4=50)Mhz
 		 */
@@ -439,7 +439,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 	}
 
Quoted 6 lines

drivers/cpufreq/s5pv210-cpufreq.c static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index) · line 442

Quoted 3 lines
drivers/cpufreq/s5pv210-cpufreq.c +1 -1
 	/*
-	 * L4 level need to change memory bus speed, hence onedram clock divier
+	 * L4 level need to change memory bus speed, hence onedram clock divider

Also grammar fix: need/needs.

Hmmm ...good catch...V2 on the way...

Quoted 2 lines

Best regards,
Krzysztof

#3 lore raw
Quoted 37 lines · Bhaskar Chowdhury
Quoted 36 lines · Krzysztof Kozlowski
Quoted 35 lines · Bhaskar Chowdhury

s/untile/until/
s/souce/source/
s/divier/divider/

---
 drivers/cpufreq/s5pv210-cpufreq.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/cpufreq/s5pv210-cpufreq.c +2 -2
index bed496cf8d24..1cfea5339beb 100644
@@ -378,7 +378,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 		/*
 		 * 6. Turn on APLL
 		 * 6-1. Set PMS values
-		 * 6-2. Wait untile the PLL is locked
+		 * 6-2. Wait until the PLL is locked
 		 */
 		if (index == L0)
 			writel_relaxed(APLL_VAL_1000, S5P_APLL_CON);
@@ -390,7 +390,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 		} while (!(reg & (0x1 << 29)));
 
 		/*
-		 * 7. Change souce clock from SCLKMPLL(667Mhz)
+		 * 7. Change source clock from SCLKMPLL(667Mhz)
 		 * to SCLKA2M(200Mhz) in MFC_MUX and G3D MUX
 		 * (667/4=166)->(200/4=50)Mhz
 		 */
@@ -439,7 +439,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 	}
 
Quoted 10 lines
Quoted 6 lines

drivers/cpufreq/s5pv210-cpufreq.c static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index) · line 442

Quoted 3 lines
drivers/cpufreq/s5pv210-cpufreq.c +1 -1
 	/*
-	 * L4 level need to change memory bus speed, hence onedram clock divier
+	 * L4 level need to change memory bus speed, hence onedram clock divider

Also grammar fix: need/needs.

Hmmm ...good catch...V2 on the way...

Quoted 2 lines

Best regards,
Krzysztof

May as well roll in few more?

Regards,

--Tom

drivers/cpufreq/s5pv210-cpufreq.c +3 -3
index a186c0d8a290..6ecef301bd40 100644
@@ -91,7 +91,7 @@ static DEFINE_MUTEX(set_freq_lock);
 /* Use 800MHz when entering sleep mode */
 #define SLEEP_FREQ     (800 * 1000)
 
-/* Tracks if cpu freqency can be updated anymore */
+/* Tracks if cpu frequency can be updated anymore */
 static bool no_cpufreq_access;
 
 /*
@@ -190,7 +190,7 @@ static u32 clkdiv_val[5][11] = {
 
 /*
  * This function set DRAM refresh counter
- * accoriding to operating frequency of DRAM
+ * according to operating frequency of DRAM
  * ch: DMC port number 0 or 1
  * freq: Operating frequency of DRAM(KHz)
  */
@@ -320,7 +320,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 
                /*
                 * 3. DMC1 refresh count for 133Mhz if (index == L4) is
-                * true refresh counter is already programed in upper
+                * true refresh counter is already programmed in upper
                 * code. 0x287@83Mhz
                 */
                if (!bus_speed_changing)
Acked-by
#4 lore raw
Quoted 40 lines · Tom Saeger
Quoted 7 lines · Bhaskar Chowdhury
Quoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · Bhaskar Chowdhury

s/untile/until/
s/souce/source/
s/divier/divider/

May as well roll in few more?

Regards,

--Tom

drivers/cpufreq/s5pv210-cpufreq.c +2 -2
index a186c0d8a290..6ecef301bd40 100644
@@ -91,7 +91,7 @@ static DEFINE_MUTEX(set_freq_lock);
 /* Use 800MHz when entering sleep mode */
 #define SLEEP_FREQ     (800 * 1000)
 
-/* Tracks if cpu freqency can be updated anymore */
+/* Tracks if cpu frequency can be updated anymore */
 static bool no_cpufreq_access;
 
 /*
@@ -190,7 +190,7 @@ static u32 clkdiv_val[5][11] = {
 
 /*
  * This function set DRAM refresh counter
- * accoriding to operating frequency of DRAM
+ * according to operating frequency of DRAM
  * ch: DMC port number 0 or 1
  * freq: Operating frequency of DRAM(KHz)
  */

drivers/cpufreq/s5pv210-cpufreq.c static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index) · line 326

Quoted 8 lines
drivers/cpufreq/s5pv210-cpufreq.c +1 -1
@@ -320,7 +320,7 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
 
                /*
                 * 3. DMC1 refresh count for 133Mhz if (index == L4) is
-                * true refresh counter is already programed in upper
+                * true refresh counter is already programmed in upper
                 * code. 0x287@83Mhz
                 */
                if (!bus_speed_changing)

LGTM.

Thanks.

Signature · 1 line
~Randy