usb: yurex: fix race in probe
Subsystems (2)
Shraddha Phadnis
Reviewed-byReviewed-by Shraddha Phadnis <[email protected]>
This makes sense. Initializing dev->bbu before submitting the interrupt URB closes the race where the completion handler could set bbu and then have it overwritten by the probe path.
Moving the initialization earlier ensures any early interrupt sees a known state rather than losing valid data.
Agree with CC stable as this fixes a real data corruption case.