Dinghao Liu <dinghao.liu@xxxxxxxxxx> wrote: > When devm_clk_get() returns -EPROBE_DEFER, spi_priv > should be freed just like when wilc_cfg80211_init() > fails. > > Fixes: 854d66df74aed ("staging: wilc1000: look for rtc_clk clock in spi mode") > Signed-off-by: Dinghao Liu <dinghao.liu@xxxxxxxxxx> > Acked-by: Ajay Singh <ajay.kathat@xxxxxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. 9a19a939abfa wilc1000: Fix memleak in wilc_bus_probe -- https://patchwork.kernel.org/patch/11725515/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches