• Alan Stern's avatar
    [PATCH] USB dummy_hcd: Use separate pdevs for HC and UDC · d9b76251
    Alan Stern authored
    This patch makes the dummy_hcd driver create separate platform devices for
    the emulated host controller and emulated device controller.  This gives a
    more accurate simulation and will permit testing of situations where only
    one of the two devices is suspended.
    
    This also changes the name of the host controller platform device to match
    the name of the driver.  That way the normal platform bus probe mechanism
    will handle binding the driver to the device.
    Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    d9b76251
dummy_hcd.c 44.5 KB