Skip to content

Commit ddb74e9

Browse files
a5hishsre
authored andcommitted
power: supply: ab8500_charger: Fix typos in commit messages
Trivial fix to spelling mistake in commit messages. Signed-off-by: Ashish Chavan <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 241eaab commit ddb74e9

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

drivers/power/supply/ab8500_charger.c

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ static void ab8500_enable_disable_sw_fallback(struct ab8500_charger *di,
404404
}
405405

406406
/**
407-
* ab8500_power_supply_changed - a wrapper with local extentions for
407+
* ab8500_power_supply_changed - a wrapper with local extensions for
408408
* power_supply_changed
409409
* @di: pointer to the ab8500_charger structure
410410
* @psy: pointer to power_supply_that have changed.
@@ -683,7 +683,7 @@ static int ab8500_charger_max_usb_curr(struct ab8500_charger *di,
683683
/*
684684
* Platform only supports USB 2.0.
685685
* This means that charging current from USB source
686-
* is maximum 500 mA. Every occurence of USB_STAT_*_HOST_*
686+
* is maximum 500 mA. Every occurrence of USB_STAT_*_HOST_*
687687
* should set USB_CH_IP_CUR_LVL_0P5.
688688
*/
689689

@@ -1379,13 +1379,13 @@ static int ab8500_charger_ac_en(struct ux500_charger *charger,
13791379

13801380
/*
13811381
* Due to a bug in AB8500, BTEMP_HIGH/LOW interrupts
1382-
* will be triggered everytime we enable the VDD ADC supply.
1382+
* will be triggered every time we enable the VDD ADC supply.
13831383
* This will turn off charging for a short while.
13841384
* It can be avoided by having the supply on when
13851385
* there is a charger enabled. Normally the VDD ADC supply
1386-
* is enabled everytime a GPADC conversion is triggered. We will
1387-
* force it to be enabled from this driver to have
1388-
* the GPADC module independant of the AB8500 chargers
1386+
* is enabled every time a GPADC conversion is triggered.
1387+
* We will force it to be enabled from this driver to have
1388+
* the GPADC module independent of the AB8500 chargers
13891389
*/
13901390
if (!di->vddadc_en_ac) {
13911391
ret = regulator_enable(di->regu);
@@ -1455,7 +1455,7 @@ static int ab8500_charger_ac_en(struct ux500_charger *charger,
14551455
if (is_ab8500_1p1_or_earlier(di->parent)) {
14561456
/*
14571457
* For ABB revision 1.0 and 1.1 there is a bug in the
1458-
* watchdog logic. That means we have to continously
1458+
* watchdog logic. That means we have to continuously
14591459
* kick the charger watchdog even when no charger is
14601460
* connected. This is only valid once the AC charger
14611461
* has been enabled. This is a bug that is not handled
@@ -1552,13 +1552,13 @@ static int ab8500_charger_usb_en(struct ux500_charger *charger,
15521552

15531553
/*
15541554
* Due to a bug in AB8500, BTEMP_HIGH/LOW interrupts
1555-
* will be triggered everytime we enable the VDD ADC supply.
1555+
* will be triggered every time we enable the VDD ADC supply.
15561556
* This will turn off charging for a short while.
15571557
* It can be avoided by having the supply on when
15581558
* there is a charger enabled. Normally the VDD ADC supply
1559-
* is enabled everytime a GPADC conversion is triggered. We will
1560-
* force it to be enabled from this driver to have
1561-
* the GPADC module independant of the AB8500 chargers
1559+
* is enabled every time a GPADC conversion is triggered.
1560+
* We will force it to be enabled from this driver to have
1561+
* the GPADC module independent of the AB8500 chargers
15621562
*/
15631563
if (!di->vddadc_en_usb) {
15641564
ret = regulator_enable(di->regu);
@@ -1582,7 +1582,10 @@ static int ab8500_charger_usb_en(struct ux500_charger *charger,
15821582
return -ENXIO;
15831583
}
15841584

1585-
/* ChVoltLevel: max voltage upto which battery can be charged */
1585+
/*
1586+
* ChVoltLevel: max voltage up to which battery can be
1587+
* charged
1588+
*/
15861589
ret = abx500_set_register_interruptible(di->dev, AB8500_CHARGER,
15871590
AB8500_CH_VOLT_LVL_REG, (u8) volt_index);
15881591
if (ret) {
@@ -2014,7 +2017,7 @@ static void ab8500_charger_check_hw_failure_work(struct work_struct *work)
20142017
* Work queue function for kicking the charger watchdog.
20152018
*
20162019
* For ABB revision 1.0 and 1.1 there is a bug in the watchdog
2017-
* logic. That means we have to continously kick the charger
2020+
* logic. That means we have to continuously kick the charger
20182021
* watchdog even when no charger is connected. This is only
20192022
* valid once the AC charger has been enabled. This is
20202023
* a bug that is not handled by the algorithm and the
@@ -2262,7 +2265,7 @@ static void ab8500_charger_usb_link_status_work(struct work_struct *work)
22622265
* Some chargers that breaks the USB spec is
22632266
* identified as invalid by AB8500 and it refuse
22642267
* to start the charging process. but by jumping
2265-
* thru a few hoops it can be forced to start.
2268+
* through a few hoops it can be forced to start.
22662269
*/
22672270
if (is_ab8500(di->parent))
22682271
ret = abx500_get_register_interruptible(di->dev, AB8500_USB,
@@ -3214,7 +3217,7 @@ static int ab8500_charger_resume(struct platform_device *pdev)
32143217

32153218
/*
32163219
* For ABB revision 1.0 and 1.1 there is a bug in the watchdog
3217-
* logic. That means we have to continously kick the charger
3220+
* logic. That means we have to continuously kick the charger
32183221
* watchdog even when no charger is connected. This is only
32193222
* valid once the AC charger has been enabled. This is
32203223
* a bug that is not handled by the algorithm and the
@@ -3483,7 +3486,7 @@ static int ab8500_charger_probe(struct platform_device *pdev)
34833486

34843487
/*
34853488
* For ABB revision 1.0 and 1.1 there is a bug in the watchdog
3486-
* logic. That means we have to continously kick the charger
3489+
* logic. That means we have to continuously kick the charger
34873490
* watchdog even when no charger is connected. This is only
34883491
* valid once the AC charger has been enabled. This is
34893492
* a bug that is not handled by the algorithm and the

0 commit comments

Comments
 (0)