[PATCH] staging: rtl8723au: hal: rtl8723a_hal_init: fixed 4 spelling errors.

2015-12-16 Thread Jiading Gai
Fixed four spelling errors.

Signed-off-by: Jiading Gai 
---
 drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c 
b/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c
index ecf54ee..e3dc889 100644
--- a/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c
+++ b/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c
@@ -1044,7 +1044,7 @@ void rtl8723a_InitAntenna_Selection(struct rtw_adapter 
*padapter)
u8 val;
 
val = rtl8723au_read8(padapter, REG_LEDCFG2);
-   /*  Let 8051 take control antenna settting */
+   /*  Let 8051 take control antenna setting */
val |= BIT(7);  /*  DPDT_SEL_EN, 0x4C[23] */
rtl8723au_write8(padapter, REG_LEDCFG2, val);
 }
@@ -1054,7 +1054,7 @@ void rtl8723a_CheckAntenna_Selection(struct rtw_adapter 
*padapter)
u8 val;
 
val = rtl8723au_read8(padapter, REG_LEDCFG2);
-   /*  Let 8051 take control antenna settting */
+   /*  Let 8051 take control antenna setting */
if (!(val & BIT(7))) {
val |= BIT(7);  /*  DPDT_SEL_EN, 0x4C[23] */
rtl8723au_write8(padapter, REG_LEDCFG2, val);
@@ -1066,7 +1066,7 @@ void rtl8723a_DeinitAntenna_Selection(struct rtw_adapter 
*padapter)
u8 val;
 
val = rtl8723au_read8(padapter, REG_LEDCFG2);
-   /*  Let 8051 take control antenna settting */
+   /*  Let 8051 take control antenna setting */
val &= ~BIT(7); /*  DPDT_SEL_EN, clear 0x4C[23] */
rtl8723au_write8(padapter, REG_LEDCFG2, val);
 }
@@ -1297,7 +1297,7 @@ static void _ResetDigitalProcedure1_92C(struct 
rtw_adapter *padapter,
/*  If we want to SS mode, we can not reset 8051. */
if ((val8 & BIT(1)) && padapter->bFWReady) {
/* IF fw in RAM code, do reset */
-   /*  2010/08/25 MH Accordign to RD alfred's
+   /*  2010/08/25 MH According to RD alfred's
suggestion, we need to disable other */
/*  HRCV INT to influence 8051 reset. */
rtl8723au_write8(padapter, REG_FWIMR, 0x20);
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] mm: memcontrol: fixed three spelling errors.

2015-12-15 Thread Jiading Gai
From: Jiading Gai 

Fixed three spelling errors.

Signed-off-by: Jiading Gai 
---
 mm/memcontrol.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index e234c21..4e424fc 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -1744,7 +1744,7 @@ bool mem_cgroup_oom_synchronize(bool handle)
/*
 * There is no guarantee that an OOM-lock contender
 * sees the wakeups triggered by the OOM kill
-* uncharges.  Wake any sleepers explicitely.
+* uncharges.  Wake any sleepers explicitly.
 */
memcg_oom_recover(memcg);
}
@@ -4277,7 +4277,7 @@ mem_cgroup_css_online(struct cgroup_subsys_state *css)
page_counter_init(&memcg->memsw, NULL);
page_counter_init(&memcg->kmem, NULL);
/*
-* Deeper hierachy with use_hierarchy == false doesn't make
+* Deeper hierarchy with use_hierarchy == false doesn't make
 * much sense so let cgroup subsystem know about this
 * unfortunate state in our controller.
 */
@@ -4809,7 +4809,7 @@ static int mem_cgroup_can_attach(struct cgroup_taskset 
*tset)
return 0;
 
/*
-* We are now commited to this value whatever it is. Changes in this
+* We are now committed to this value whatever it is. Changes in this
 * tunable will only affect upcoming migrations, not the current one.
 * So we need to save it, and keep it going.
 */
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/