diff options
| author | Dongliang Mu <[email protected]> | 2023-02-27 18:24:08 +0800 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-07-19 12:57:47 +0200 |
| commit | b9c7141f384097fa4fa67d2f72e5731d628aef7c (patch) | |
| tree | 6773b350ca581f279bb70b2cdd84bd10aa6fa524 /tools/perf/scripts | |
| parent | ff7ff3656465f73e5dc1104d742fe7502572a5ed (diff) | |
drivers: usb: smsusb: fix error handling code in smsusb_init_device
The previous commit 4b208f8b561f ("[media] siano: register media controller
earlier")moves siano_media_device_register before smscore_register_device,
and adds corresponding error handling code if smscore_register_device
fails. However, it misses the following error handling code of
smsusb_init_device.
Fix this by moving error handling code at the end of smsusb_init_device
and adding a goto statement in the following error handling parts.
Fixes: 4b208f8b561f ("[media] siano: register media controller earlier")
Signed-off-by: Dongliang Mu <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions