spi: dw: introduce spi_shutdown_chip()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 14 Oct 2015 20:12:23 +0000 (23:12 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 19 Oct 2015 19:32:01 +0000 (20:32 +0100)
commit1cc3f141f0cb5a822cdef30fb1d92ae6f4176bfa
tree1d3bfb1afa2c139db80fcdd232f38ef841777911
parentd53c0ef319eb5ceb5a089ff3050a2e6808c9adb9
spi: dw: introduce spi_shutdown_chip()

This helper disables SPI controller and sets clock to 0.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw.c
drivers/spi/spi-dw.h