summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorMeng Wang <mwang@codeaurora.org>2017-08-07 12:05:24 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-08-21 23:05:03 -0700
commit214496cb3d3f4598299508ce95b534c0c564db44 (patch)
tree319a377aebdcb2003e9fc264927b5e07f3af7695 /include/linux/workqueue.h
parentcb1c821645fd08ff03c7ed4d62a6e4ca0a6a6ad5 (diff)
ASoC: core: Fix possible NULL pointer dereference
When SSR is triggered when the system does not have a sound card registered, but has codecs. The pointer card sent from codec driver to snd_soc_card_change_online_state is NULL. Add null check for soc_card before dereferencing. Change-Id: I23342a6cbd9d53e62b2ea11dfe79aad3759df6f0 Signed-off-by: Meng Wang <mwang@codeaurora.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions