i3c: master: dw: Drop redundant disec call
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 28 Dec 2020 10:55:01 +0000 (11:55 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 5 Feb 2021 23:44:15 +0000 (00:44 +0100)
Disabling all event calls is already handled by the core right before
starting the DAA process. Do not do it again when the DAA process
completes, it is redundant.

Fixes: 1dd728f5d4d4 ("i3c: master: Add driver for Synopsys DesignWare IP")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201228105501.6104-1-miquel.raynal@bootlin.com
drivers/i3c/master/dw-i3c-master.c

index 8513bd3..03a368d 100644 (file)
@@ -816,11 +816,6 @@ static int dw_i3c_master_daa(struct i3c_master_controller *m)
 
        dw_i3c_master_free_xfer(xfer);
 
-       i3c_master_disec_locked(m, I3C_BROADCAST_ADDR,
-                               I3C_CCC_EVENT_HJ |
-                               I3C_CCC_EVENT_MR |
-                               I3C_CCC_EVENT_SIR);
-
        return 0;
 }