DescriptionIOKit sends out a device changed notification before the driver fully initializes the device. And Since chrome will enumerate the devices after getting the notification, this will crash on some specific USB devices if the device is being initialized while being enumerated.
This patch change IOKit notification to use AudioObjectAddPropertyListener on kAudioHardwarePropertyDevices. By doing so, we will get notification after the driver initializes the devices.
BUG=153411
TEST= manual test with Pepper flash device enumeration.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161594
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|