[PATCH 2/2] USB: imx21-hcd - indicate DMA alignement requirement.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The iMX21 USB host controller can only do DMA aligned
on a 4 byte boundary. Use the newly introduced hcd field
dma_align_shift to indicate this.

Signed-off-by: Martin Fuzzey <mfuzzey@xxxxxxxxx>

---

 drivers/usb/host/imx21-hcd.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/host/imx21-hcd.c b/drivers/usb/host/imx21-hcd.c
index ca0e98d..ff2036d 100644
--- a/drivers/usb/host/imx21-hcd.c
+++ b/drivers/usb/host/imx21-hcd.c
@@ -1618,6 +1618,7 @@ static struct hc_driver imx21_hc_driver = {
 	.description = hcd_name,
 	.product_desc = "IMX21 USB Host Controller",
 	.hcd_priv_size = sizeof(struct imx21),
+	.dma_align_shift = 2,
 
 	.flags = HCD_USB11,
 	.irq = imx21_irq,

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux