aspeed/i2c: Enable SLAVE_ADDR_RX_MATCH always
commit33e30f11c7f9069417f14461b1d15a5beae4b3e4
authorCédric Le Goater <clg@kaod.org>
Mon, 13 Jun 2022 12:05:48 +0000 (13 14:05 +0200)
committerCédric Le Goater <clg@kaod.org>
Wed, 22 Jun 2022 07:49:34 +0000 (22 09:49 +0200)
treec6bcbc8faba8a5ab3456a3d5a966ae790e192cc4
parentd72a712ce038df621c227c0843354c553fe91b8a
aspeed/i2c: Enable SLAVE_ADDR_RX_MATCH always

There is no 'slave match interrupt' enable bit in the Interrupt
Control Register. Consider it is always enabled and extend the mask
value 'bus->regs[intr_ctrl_reg]' with the SLAVE_ADDR_RX_MATCH bit when
the interrupt is raised.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/i2c/aspeed_i2c.c