@@ -87,11 +87,10 @@ static inline void irq_chip_write_msi_msg(struct irq_data *data,
int msi_domain_set_affinity(struct irq_data *irq_data,
const struct cpumask *mask, bool force)
{
- struct irq_data *parent = irq_data->parent_data;
struct msi_msg msg;
int ret;
- ret = parent->chip->irq_set_affinity(parent, mask, force);
+ ret = irq_chip_set_affinity_parent(irq_data, mask, force);
if (ret >= 0 && ret != IRQ_SET_MASK_OK_DONE) {
BUG_ON(irq_chip_compose_msi_msg(irq_data, &msg));
irq_chip_write_msi_msg(irq_data, &msg);