diff options
author | Hante Meuleman <meuleman@broadcom.com> | 2016-01-19 12:39:24 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-01-19 21:27:22 +0200 |
commit | e0045bf80f62779ba75ba04513020d60e59f5298 (patch) | |
tree | 72f7bf06e3501073a34c4aa1cd0f0d19c38dbb2d /drivers/mfd/twl4030-irq.c | |
parent | b7e2d195cc523bd92ed7a64aac089421dbab2a2d (diff) |
brcmfmac: fix sdio sg table alloc crash
With commit 7d34b0560567 ("brcmfmac: Move all module parameters to
one place") a bug was introduced causing a null pointer exception.
This patch fixes the bug by initializing the sg table till after
the settings have been initialized.
Fixes: 7d34b0560567 ("brcmfmac: Move all module parameters to one place")
Reported-by: Marc Zyngier <marc.zyngier@arm.com>
Tested-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/mfd/twl4030-irq.c')
0 files changed, 0 insertions, 0 deletions