dmaengine: hsu: Export hsu_dma_get_status()
authorChuah, Kim Tatt <kim.tatt.chuah@intel.com>
Wed, 15 Jun 2016 05:44:11 +0000 (13:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 21:30:42 +0000 (14:30 -0700)
commitc6f82787a5a193a5c4c49ddaeb362d320efa5fba
tree55da1b24d1b63bcb073e11ae49249887e297006e
parentd03516df837587368fc6e75591f6329c072b9eb5
dmaengine: hsu: Export hsu_dma_get_status()

To allow other code to safely read DMA Channel Status Register (where
the register attribute for Channel Error, Descriptor Time Out &
Descriptor Done fields are read-clear), export hsu_dma_get_status().
hsu_dma_irq() is renamed to hsu_dma_do_irq() and requires Status
Register value to be passed in.

Signed-off-by: Chuah, Kim Tatt <kim.tatt.chuah@intel.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dma/hsu/hsu.c
drivers/dma/hsu/pci.c
drivers/tty/serial/8250/8250_mid.c
include/linux/dma/hsu.h