diff options
author | Tejun Heo <tj@kernel.org> | 2015-11-03 17:29:03 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-11-03 17:29:03 -0500 |
commit | 159b5bb46492e4dcef2070b12861030bc360402b (patch) | |
tree | 93de7d6e94a059aade50ee5437de6a50ccd1cf7b /drivers/base/regmap/regmap-irq.c | |
parent | 56e74338a535cbcc2f2da08b1ea1a92920194364 (diff) | |
parent | 469eabb3aec03d9defed3462df743a223a5c8f54 (diff) |
Merge branch 'for-4.3-fixes' into for-4.4
Diffstat (limited to 'drivers/base/regmap/regmap-irq.c')
-rw-r--r-- | drivers/base/regmap/regmap-irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/regmap/regmap-irq.c b/drivers/base/regmap/regmap-irq.c index 2597600a5d26..38d1f72d869c 100644 --- a/drivers/base/regmap/regmap-irq.c +++ b/drivers/base/regmap/regmap-irq.c @@ -209,7 +209,7 @@ static irqreturn_t regmap_irq_thread(int irq, void *d) * Read in the statuses, using a single bulk read if possible * in order to reduce the I/O overheads. */ - if (!map->use_single_rw && map->reg_stride == 1 && + if (!map->use_single_read && map->reg_stride == 1 && data->irq_reg_stride == 1) { u8 *buf8 = data->status_reg_buf; u16 *buf16 = data->status_reg_buf; @@ -398,7 +398,7 @@ int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags, else d->irq_reg_stride = 1; - if (!map->use_single_rw && map->reg_stride == 1 && + if (!map->use_single_read && map->reg_stride == 1 && d->irq_reg_stride == 1) { d->status_reg_buf = kmalloc(map->format.val_bytes * chip->num_regs, GFP_KERNEL); |