sata_dwc_460ex: fix return value of dma_dwc_xfer_setup()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 28 Jan 2011 18:58:54 +0000 (21:58 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 2 Mar 2011 07:36:46 +0000 (02:36 -0500)
commitd285e8bfe9d1a196e26b798cc04f8c5ebc60c856
treea2dfdb19e453aef890fc83a59cc104e0636cbfdf
parentc211962dc12d609effbf00a2c5c6fc38cc1dbc54
sata_dwc_460ex: fix return value of dma_dwc_xfer_setup()

The caller expects this function to return the DMA channel number on success,
while it returns 0...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_dwc_460ex.c