aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/acpi-dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/acpi-dma.c')
-rw-r--r--drivers/dma/acpi-dma.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/dma/acpi-dma.c b/drivers/dma/acpi-dma.c
index 5a18f82f732a..e69b03c0fa50 100644
--- a/drivers/dma/acpi-dma.c
+++ b/drivers/dma/acpi-dma.c
@@ -43,7 +43,6 @@ static int acpi_dma_parse_resource_group(const struct acpi_csrt_group *grp,
43 struct list_head resource_list; 43 struct list_head resource_list;
44 struct resource_list_entry *rentry; 44 struct resource_list_entry *rentry;
45 resource_size_t mem = 0, irq = 0; 45 resource_size_t mem = 0, irq = 0;
46 u32 vendor_id;
47 int ret; 46 int ret;
48 47
49 if (grp->shared_info_length != sizeof(struct acpi_csrt_shared_info)) 48 if (grp->shared_info_length != sizeof(struct acpi_csrt_shared_info))
@@ -73,9 +72,8 @@ static int acpi_dma_parse_resource_group(const struct acpi_csrt_group *grp,
73 if (si->mmio_base_low != mem || si->gsi_interrupt != irq) 72 if (si->mmio_base_low != mem || si->gsi_interrupt != irq)
74 return 0; 73 return 0;
75 74
76 vendor_id = le32_to_cpu(grp->vendor_id);
77 dev_dbg(&adev->dev, "matches with %.4s%04X (rev %u)\n", 75 dev_dbg(&adev->dev, "matches with %.4s%04X (rev %u)\n",
78 (char *)&vendor_id, grp->device_id, grp->revision); 76 (char *)&grp->vendor_id, grp->device_id, grp->revision);
79 77
80 /* Check if the request line range is available */ 78 /* Check if the request line range is available */
81 if (si->base_request_line == 0 && si->num_handshake_signals == 0) 79 if (si->base_request_line == 0 && si->num_handshake_signals == 0)