1. NAME▲

usb_hub_find_child - Get the pointer of child device attached to the port which is specified by port1.

2. SYNOPSIS ▲

struct usb_device * usb_hub_find_child(struct usb_device *  hdev , int  port1 );

3. ARGUMENTS ▲

hdev
    USB device belonging to the usb hub

port1
    port num to indicate which port the child device is attached to.

4. DESCRIPTION ▲

USB drivers call this function to get hubAqs child device pointer.

Return NULL if input param is invalid and childAqs usb_device pointer if non-NULL.

5. COPYRIGHT ▲