[no subject]

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

 



>>>       struct usb_hcd __maybe_unused *hcd;
>>>         /*
>>>        * FIXME: Fix this layering violation.
>>>        */
>>>       hcd = platform_get_drvdata(dwc->xhci);
>>> +    if (!hcd)
>>> +        return USB_SPEED_UNKNOWN;
>>>     #ifdef CONFIG_USB
>>
>> Perhaps this #ifdef shouldn't only be checking this. But that's for
>> another patch >>       udev = usb_hub_find_child(hcd->self.root_hub,
>> port_index + 1);
>>> -- 
>>> 2.17.1
>>>
>>
>> BR,
>> Thinh
> Thanks,
> Prashanth K
Thanks,
Faisal




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux