Merge branch 'regmap-5.1' into regmap-linus
This commit is contained in:
commit
7fdc9fc874
@ -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) {
|
if (chip->num_type_reg && !chip->type_in_mask) {
|
||||||
for (i = 0; i < chip->num_type_reg; ++i) {
|
for (i = 0; i < chip->num_type_reg; ++i) {
|
||||||
if (!d->type_buf_def[i])
|
|
||||||
continue;
|
|
||||||
|
|
||||||
reg = chip->type_base +
|
reg = chip->type_base +
|
||||||
(i * map->reg_stride * d->type_reg_stride);
|
(i * map->reg_stride * d->type_reg_stride);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user