i3c: master: svc: separate err, fifo and disable interrupt of reset function
authorClark Wang <xiaoning.wang@nxp.com>
Mon, 27 Dec 2021 07:45:24 +0000 (15:45 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 5 Jan 2022 08:53:44 +0000 (09:53 +0100)
commit9fd6b5ce8523460b024361a802f5e5738d2da543
treec0dfbe1ff65f6459fc4ecd726bae225333e80c84
parenta84a9222b2be2949f11f2d7c487052ac2afed4d4
i3c: master: svc: separate err, fifo and disable interrupt of reset function

Sometimes only need to reset err and fifo regs, so split the origin
reset function to three functions.
Put them at the top of the file, to let more functions can call them.

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-4-xiaoning.wang@nxp.com
drivers/i3c/master/svc-i3c-master.c