]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra: board:disable the unaligned dma buffer
authorRakesh Bodla <rbodla@nvidia.com>
Tue, 30 Jul 2013 08:01:40 +0000 (13:31 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:39:04 +0000 (13:39 -0700)
Disable usb h/w alignment fix.

Bug 1289107

Change-Id: Ice6c9b6d561bea3ef629e12fe9c5773512a9df04
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/255419
(cherry picked from commit 949ac7681ee99dae5ad75fba6903ece3690700a1)
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/256763
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
arch/arm/mach-tegra/board-ardbeg.c
arch/arm/mach-tegra/board-macallan.c

index ccc8c15e7124a1dab7305bec23df5b28e0382b69..401706cea9da4c774da87628a1151e295dbb573d 100644 (file)
@@ -520,6 +520,7 @@ static struct platform_device *ardbeg_devices[] __initdata = {
 static struct tegra_usb_platform_data tegra_udc_pdata = {
        .port_otg = true,
        .has_hostpc = true,
+       .unaligned_dma_buf_supported = false,
        .phy_intf = TEGRA_USB_PHY_INTF_UTMI,
        .op_mode = TEGRA_USB_OPMODE_DEVICE,
        .u_data.dev = {
@@ -544,7 +545,7 @@ static struct tegra_usb_platform_data tegra_udc_pdata = {
 static struct tegra_usb_platform_data tegra_ehci1_utmi_pdata = {
        .port_otg = true,
        .has_hostpc = true,
-       .unaligned_dma_buf_supported = true,
+       .unaligned_dma_buf_supported = false,
        .phy_intf = TEGRA_USB_PHY_INTF_UTMI,
        .op_mode = TEGRA_USB_OPMODE_HOST,
        .u_data.host = {
@@ -572,7 +573,7 @@ static struct tegra_usb_platform_data tegra_ehci1_utmi_pdata = {
 static struct tegra_usb_platform_data tegra_ehci2_utmi_pdata = {
        .port_otg = false,
        .has_hostpc = true,
-       .unaligned_dma_buf_supported = true,
+       .unaligned_dma_buf_supported = false,
        .phy_intf = TEGRA_USB_PHY_INTF_UTMI,
        .op_mode = TEGRA_USB_OPMODE_HOST,
        .u_data.host = {
@@ -599,7 +600,7 @@ static struct tegra_usb_platform_data tegra_ehci2_utmi_pdata = {
 static struct tegra_usb_platform_data tegra_ehci3_utmi_pdata = {
        .port_otg = false,
        .has_hostpc = true,
-       .unaligned_dma_buf_supported = true,
+       .unaligned_dma_buf_supported = false,
        .phy_intf = TEGRA_USB_PHY_INTF_UTMI,
        .op_mode = TEGRA_USB_OPMODE_HOST,
        .u_data.host = {
@@ -630,7 +631,7 @@ static struct gpio modem_gpios[] = { /* Bruce modem */
 static struct tegra_usb_platform_data tegra_ehci2_hsic_baseband_pdata = {
        .port_otg = false,
        .has_hostpc = true,
-       .unaligned_dma_buf_supported = true,
+       .unaligned_dma_buf_supported = false,
        .phy_intf = TEGRA_USB_PHY_INTF_HSIC,
        .op_mode = TEGRA_USB_OPMODE_HOST,
        .u_data.host = {
@@ -644,7 +645,7 @@ static struct tegra_usb_platform_data tegra_ehci2_hsic_baseband_pdata = {
 static struct tegra_usb_platform_data tegra_ehci2_hsic_smsc_hub_pdata = {
        .port_otg = false,
        .has_hostpc = true,
-       .unaligned_dma_buf_supported = true,
+       .unaligned_dma_buf_supported = false,
        .phy_intf = TEGRA_USB_PHY_INTF_HSIC,
        .op_mode        = TEGRA_USB_OPMODE_HOST,
        .u_data.host = {
index c550302128e73db8325dcf78dd9e8f5806d0d3c8..4d3ea2a4132893f076533aa85e8ac305e566736c 100644 (file)
@@ -513,11 +513,6 @@ static void macallan_modem_init(void)
        int usb_port_owner_info = tegra_get_usb_port_owner_info();
        switch (modem_id) {
        case TEGRA_BB_NEMO: /* on board i500 HSIC */
-               if ((tegra_get_chipid() == TEGRA_CHIPID_TEGRA11) &&
-                   (tegra_revision == TEGRA_REVISION_A02)) {
-                       tegra_ehci2_hsic_baseband_pdata \
-                       .unaligned_dma_buf_supported = true;
-               }
                if (!(usb_port_owner_info & HSIC1_PORT_OWNER_XUSB))
                        platform_device_register(&icera_nemo_device);
                break;