Re: [PATCHv2 1/2] spi: dw: add reset control

2020-05-26 Thread Andy Shevchenko
On Tue, May 26, 2020 at 10:12:17AM -0500, Dinh Nguyen wrote: > Add mechanism to get the reset control and deassert it in order to bring > the IP out of reset. ... > struct clk *clk; > struct clk *pclk; > void *priv; > + struct reset_control*rstc; I thi

[PATCHv2 1/2] spi: dw: add reset control

2020-05-26 Thread Dinh Nguyen
Add mechanism to get the reset control and deassert it in order to bring the IP out of reset. Signed-off-by: Liang Jin J Signed-off-by: Dinh Nguyen --- v2: use _get_optional_exclusive put IP back into reset if there was an error in probe function --- drivers/spi/spi-dw-mmio.c | 13 +