diff options
Diffstat (limited to 'drivers/mfd/tps65910.c')
| -rw-r--r-- | drivers/mfd/tps65910.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c index f40d98b892c..7d1a1769bb1 100644 --- a/drivers/mfd/tps65910.c +++ b/drivers/mfd/tps65910.c @@ -367,7 +367,7 @@ static int tps65910_sleepinit(struct tps65910 *tps65910, dev = tps65910->dev; - /* set polarity of SLLEEPSIG requst ot enter OFF mode */ + /* set polarity of SLEEPSIG request to enter OFF mode */ ret = tps65910_reg_set_bits(tps65910, TPS65910_DEVCTRL2, DEVCTRL2_SLEEPSIG_POL_MASK); if (ret < 0) { @@ -376,7 +376,7 @@ static int tps65910_sleepinit(struct tps65910 *tps65910, } /* - * set polarity of SLLEEPSIG requst to enter OFF mode + * set polarity of SLEEPSIG request to enter OFF mode * before enabling sleep */ ret = tps65910_reg_set_bits(tps65910, TPS65910_DEVCTRL2, @@ -503,7 +503,8 @@ static struct tps65910_board *tps65910_parse_dt(struct i2c_client *client, board_info->slp_keepon.clkout32k_keepon = prop; board_info->irq = client->irq; - board_info->irq_base = -1; + /* board_info->irq_base = -1; */ + board_info->irq_base = 0; /* OLIO: if (-1) is true ... seems weird. */ board_info->pm_off = of_property_read_bool(np, "ti,system-power-controller"); @@ -534,7 +535,7 @@ static void tps65910_power_off(void) } static int tps65910_i2c_probe(struct i2c_client *i2c, - const struct i2c_device_id *id) + const struct i2c_device_id *id) { struct tps65910 *tps65910; struct tps65910_board *pmic_plat_data; |