diff options
| author | Yuan Can <[email protected]> | 2024-10-22 17:04:53 +0800 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2024-10-31 16:18:42 +0200 |
| commit | 3b88a9876779b55478a4dde867e73f7a100ffa23 (patch) | |
| tree | ef135707083d1709e033bf3696fdc45f6a3634a9 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 3c1f19ab3d59d4b01cbb70fc5fbaa8c5805f108b (diff) | |
wifi: wfx: Fix error handling in wfx_core_init()
The wfx_core_init() returns without checking the retval from
sdio_register_driver().
If the sdio_register_driver() failed, the module failed to install,
leaving the wfx_spi_driver not unregistered.
Fixes: a7a91ca5a23d ("staging: wfx: add infrastructure for new driver")
Signed-off-by: Yuan Can <[email protected]>
Reviewed-by: Jérôme Pouiller <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions