Re: brcmfmac: Fix kernel oops on resume when request firmware fails.

2017-06-13 Thread Arend van Spriel
On 13-06-17 12:23, Enric Balletbo Serra wrote: > Hello Kalle, > > 2017-06-13 7:54 GMT+02:00 Kalle Valo : >> Enric Balletbo i Serra wrote: >> >>> When request firmware fails, brcmf_ops_sdio_remove is being called and >>> brcmf_bus freed. In such circumstancies if you do a suspend/resume cycle >>>

Re: brcmfmac: Fix kernel oops on resume when request firmware fails.

2017-06-13 Thread Enric Balletbo Serra
Hello Kalle, 2017-06-13 7:54 GMT+02:00 Kalle Valo : > Enric Balletbo i Serra wrote: > >> When request firmware fails, brcmf_ops_sdio_remove is being called and >> brcmf_bus freed. In such circumstancies if you do a suspend/resume cycle >> the kernel hangs on resume due a NULL pointer dereference

Re: brcmfmac: Fix kernel oops on resume when request firmware fails.

2017-06-12 Thread Kalle Valo
Enric Balletbo i Serra wrote: > When request firmware fails, brcmf_ops_sdio_remove is being called and > brcmf_bus freed. In such circumstancies if you do a suspend/resume cycle > the kernel hangs on resume due a NULL pointer dereference in resume > function. > > Steps to reproduce the problem:

Re: [PATCH] brcmfmac: Fix kernel oops on resume when request firmware fails.

2017-05-23 Thread Franky Lin
Hi Enric, On Tue, May 23, 2017 at 11:07 AM, Enric Balletbo i Serra wrote: > When request firmware fails, brcmf_ops_sdio_remove is being called and > brcmf_bus freed. In such circumstancies if you do a suspend/resume cycle > the kernel hangs on resume due a NULL pointer dereference in resume > fun

[PATCH] brcmfmac: Fix kernel oops on resume when request firmware fails.

2017-05-23 Thread Enric Balletbo i Serra
When request firmware fails, brcmf_ops_sdio_remove is being called and brcmf_bus freed. In such circumstancies if you do a suspend/resume cycle the kernel hangs on resume due a NULL pointer dereference in resume function. Steps to reproduce the problem: - modprobe brcmfmac without the firmware