diff options
| author | Gustavo Solaira <gustavos@codeaurora.org> | 2017-08-18 10:59:47 -0700 |
|---|---|---|
| committer | Gustavo Solaira <gustavos@codeaurora.org> | 2017-08-18 12:52:08 -0700 |
| commit | cffd215486b70e0216688ffcf0800110d1becf18 (patch) | |
| tree | 570ec2974880b5740678d84c2eaa03a591ba1c20 /net/unix/af_unix.c | |
| parent | cd4e77f1e941600d2ede57ff57c3dfb693566922 (diff) | |
net: cnss: Fix crash when SDIO device is not inserted
Check to see if the host is not NULL before trying to use
it, this avoids a crash when the driver is probed, but the
card is not available. Also remove dependency on ARCH_MSM
since it is not used anymore.
Change-Id: I476a512dd41e0c336b71c96d8dd2972cdadb8732
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
