hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/usb/host/sl811-hcd.c
....@@ -1631,12 +1631,6 @@
16311631 irq = ires->start;
16321632 irqflags = ires->flags & IRQF_TRIGGER_MASK;
16331633
1634
- /* refuse to confuse usbcore */
1635
- if (dev->dev.dma_mask) {
1636
- dev_dbg(&dev->dev, "no we won't dma\n");
1637
- return -EINVAL;
1638
- }
1639
-
16401634 /* the chip may be wired for either kind of addressing */
16411635 addr = platform_get_resource(dev, IORESOURCE_MEM, 0);
16421636 data = platform_get_resource(dev, IORESOURCE_MEM, 1);
....@@ -1797,7 +1791,7 @@
17971791 .suspend = sl811h_suspend,
17981792 .resume = sl811h_resume,
17991793 .driver = {
1800
- .name = (char *) hcd_name,
1794
+ .name = hcd_name,
18011795 },
18021796 };
18031797 EXPORT_SYMBOL(sl811h_driver);