Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320489
b: refs/heads/master
c: 9c645d2
h: refs/heads/master
i:
  320487: 9b660b4
v: v3
  • Loading branch information
NeilBrown authored and Anton Vorontsov committed Jun 20, 2012
1 parent 0355125 commit 1c0dccf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5fc55bc8225d5a5c13b978e3e3dbf51e6cd6a333
refs/heads/master: 9c645d2f887bd92df487b2c5dcd44d5fc0e7c761
6 changes: 3 additions & 3 deletions trunk/drivers/power/twl4030_charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ static int twl4030_bci_read(u8 reg, u8 *val)

static int twl4030_clear_set_boot_bci(u8 clear, u8 set)
{
return twl4030_clear_set(TWL4030_MODULE_PM_MASTER, 0,
return twl4030_clear_set(TWL4030_MODULE_PM_MASTER, clear,
TWL4030_CONFIG_DONE | TWL4030_BCIAUTOWEN | set,
TWL4030_PM_MASTER_BOOT_BCI);
}
Expand Down Expand Up @@ -151,14 +151,14 @@ static int twl4030_bci_have_vbus(struct twl4030_bci *bci)
}

/*
* Enable/Disable USB Charge funtionality.
* Enable/Disable USB Charge functionality.
*/
static int twl4030_charger_enable_usb(struct twl4030_bci *bci, bool enable)
{
int ret;

if (enable) {
/* Check for USB charger conneted */
/* Check for USB charger connected */
if (!twl4030_bci_have_vbus(bci))
return -ENODEV;

Expand Down

0 comments on commit 1c0dccf

Please sign in to comment.