spi: rockchip: use irq rather than polling
authorEmil Renner Berthing <kernel@esmil.dk>
Wed, 31 Oct 2018 10:57:09 +0000 (11:57 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 5 Nov 2018 11:42:35 +0000 (11:42 +0000)
commit01b59ce5dac856323a0c13c1d51d99a819f32efe
tree726e790c6427c5548750121a120b0e71d5ee0a9d
parent74b7efa82b11914c21e30d987ed61d3daa57ff21
spi: rockchip: use irq rather than polling

Register an interrupt handler to fill/empty the
tx and rx fifos rather than busy-looping.

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rockchip.c