sata_dwc_460ex: device tree may specify dma_channel
authorThang Q. Nguyen <tqnguyen@apm.com>
Thu, 10 May 2012 04:17:10 +0000 (11:17 +0700)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Jul 2012 19:54:21 +0000 (15:54 -0400)
commitdc7f71f486f4f5fa96f6dcf86833da020cde8a11
tree0f8b83ed3584b270b24dd61f1f9b5b543536f24e
parentfacb8fa6c784893ad1da9f0fd160e3b3c5fad2c4
sata_dwc_460ex: device tree may specify dma_channel

Only channel 0 is currently support and the driver code is fixed on
channel 0. This patch lets device node specifying dma-channel in case
it is not 0. If no dma-channel property is specified, channel 0 is
used as default.

Signed-off-by: Thang Q. Nguyen <tqnguyen@apm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_dwc_460ex.c [changed mode: 0644->0755]