diff options
author | Bard Liao <bardliao@realtek.com> | 2015-02-05 09:40:33 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-05 19:17:12 +0100 |
commit | 28d1ad09c50c758d3e295fa7ff90a4712e1254ea (patch) | |
tree | 5d107d6d0f9d6a8e94f6193660ef35b9f7b8fc94 /include | |
parent | ASoC: rt286: Fix capture volume setting issue (diff) | |
download | linux-28d1ad09c50c758d3e295fa7ff90a4712e1254ea.tar.xz linux-28d1ad09c50c758d3e295fa7ff90a4712e1254ea.zip |
ASoC: rt286: Fix potencial crash in jd function
We assign rt286->codec in rt286_probe. If rt286_jack_detect is
invoked before rt286_probe, rt286->codec will be NULL and cause
a kernel panic.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions