mirror of https://gitee.com/openkylin/linux.git
Merge branch 'regmap-4.21' into regmap-5.0
This commit is contained in:
commit
1cd824361e
|
@ -258,7 +258,7 @@ static int regmap_irq_set_type(struct irq_data *data, unsigned int type)
|
|||
const struct regmap_irq_type *t = &irq_data->type;
|
||||
|
||||
if ((t->types_supported & type) != type)
|
||||
return -ENOTSUPP;
|
||||
return 0;
|
||||
|
||||
reg = t->type_reg_offset / map->reg_stride;
|
||||
|
||||
|
|
Loading…
Reference in New Issue