commit | 0f6a928d035b82c0b3aa387d510a73f3e6dbf8e3 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Feb 06 13:25:40 2014 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Tue Feb 11 23:30:50 2014 +0530 |
tree | 7be99bf9737bf54e3729d33369898b72314334da | |
parent | 8f01258385be3225331d7edd20de905df433aac4 [diff] |
acpi-dma: convert to return error code when asked for channel Currently acpi_dma_request_slave_chan_by_index() and acpi_dma_request_slave_chan_by_name() return only requested channel or NULL. This patch converts them to return appropriate error code instead of NULL in case of unsuccessfull request. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>