WSL2-Linux-Kernel/drivers/net/wireless/microchip/wilc1000
Dinghao Liu 9a19a939ab wilc1000: Fix memleak in wilc_bus_probe
When devm_clk_get() returns -EPROBE_DEFER, spi_priv
should be freed just like when wilc_cfg80211_init()
fails.

Fixes: 854d66df74 ("staging: wilc1000: look for rtc_clk clock in spi mode")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Acked-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200820055256.24333-1-dinghao.liu@zju.edu.cn
2020-08-27 13:02:48 +03:00
..
Kconfig
Makefile wilc1000: use API version number info along with firmware filename 2020-07-14 20:52:27 +03:00
cfg80211.c wilc1000: fix compiler warning for 'wowlan_support' unused variable 2020-07-14 20:52:24 +03:00
cfg80211.h
fw.h
hif.c
hif.h
mon.c
netdev.c wilc1000: let wilc_mac_xmit() return NETDEV_TX_OK 2020-07-14 20:53:29 +03:00
netdev.h
sdio.c wilc1000: Fix memleak in wilc_sdio_probe 2020-08-27 13:01:31 +03:00
spi.c wilc1000: Fix memleak in wilc_bus_probe 2020-08-27 13:02:48 +03:00
wlan.c
wlan.h
wlan_cfg.c
wlan_cfg.h
wlan_if.h