Merge branch 'regmap-5.1' into regmap-linus
authorMark Brown <broonie@kernel.org>
Thu, 25 Apr 2019 19:27:00 +0000 (20:27 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 25 Apr 2019 19:27:00 +0000 (20:27 +0100)
drivers/base/regmap/regmap-irq.c

index 5059748afd4c5391f057c1ad7429bfb2d1c0f3a3..02eb75646141576c219a297767775349c62b0413 100644 (file)
@@ -761,9 +761,6 @@ int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
 
        if (chip->num_type_reg && !chip->type_in_mask) {
                for (i = 0; i < chip->num_type_reg; ++i) {
-                       if (!d->type_buf_def[i])
-                               continue;
-
                        reg = chip->type_base +
                                (i * map->reg_stride * d->type_reg_stride);