i3c: master: svc: move module reset behind clk enable
authorClark Wang <xiaoning.wang@nxp.com>
Mon, 27 Dec 2021 07:45:22 +0000 (15:45 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 5 Jan 2022 08:53:44 +0000 (09:53 +0100)
commit57d8d3fc060c7337bc78376ccc699ab80162b7d5
treea630aaeb656d2e0cc371771c61808df716cebec9
parent3f43926f271287fb1744c9ac9ae1122497f2b0c2
i3c: master: svc: move module reset behind clk enable

Reset I3C module will R/W its regs, so enable its clocks first.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211227074529.1660398-2-xiaoning.wang@nxp.com
drivers/i3c/master/svc-i3c-master.c