commit | 64927730c66333c9d5987aa72a0e6d44ed91cec7 | [log] [tgz] |
---|---|---|
author | Andiry Xu <andiry.xu@amd.com> | Thu Oct 14 07:22:45 2010 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Oct 22 10:22:11 2010 -0700 |
tree | edc1da4d69cbd66d9ba1cff75a5738900d2e8cef | |
parent | ac9dfe9cdda4eb42ecaa9f13b0fee518e0b6518e [diff] |
USB: xHCI: Add pointer to udev in struct xhci_virt_device Add a pointer to udev in struct xhci_virt_device. When allocate a new virt_device, make the pointer point to the corresponding udev. Modify xhci_check_args(), check if virt_dev->udev matches the target udev, to make sure command is issued to the right device. Signed-off-by: Andiry Xu <andiry.xu@amd.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>