On Sun, 21 Oct 2012, Tony Prisk wrote: > +static u64 ehci_dma_mask = DMA_BIT_MASK(32); ... > + /* Right now device-tree probed devices don't get dma_mask set. > + * Since shared usb code relies on it, set it here for now. > + * Once we have dma capability bindings this can go away. > + */ > + if (!dev->dev.dma_mask) > + dev->dev.dma_mask = &ehci_dma_mask; Grant: I have seen this sort of thing added to many drivers. Why can't this be centralized in a way that will apply once and for all to all appropriate DT-based drivers? Eventually DMA capabilities will be supported properly in DT, right? Then all these additions made to hundreds(?) of drivers will have to be removed. Why not start the ball rolling now and prevent things from getting even worse? Alan Stern -- 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