Re: [RFT PATCH 1/1] xhci: free xhci virtual devices with leaf nodes first

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

 



On 28.11.2016 22:24, Guenter Roeck wrote:
On Wed, Nov 23, 2016 at 02:24:27PM +0200, Mathias Nyman wrote:
the tt_info provided by a HS hub might be in use to by a child device
Make sure we free the devices in the correct order.

This is needed in special cases such as when xhci controller is
reset when resuming from hibernate, and all virt_devices are freed.

Also free the virt_devices starting from max slot_id as children
more commonly have higher slot_id than parent.

CC: <stable@xxxxxxxxxxxxxxx>
Signed-off-by: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>

---

Guenter Roeck, does this work for you?

Yes, it does.

Tested-by: Guenter Roeck <groeck@xxxxxxxxxxxx>

Thanks,
Guenter


Thanks, I'll send it forward with proper Reported-by and Tested-by tags
after 4.10-rc1

-Mathias

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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