diff options
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | 2018-06-14 20:26:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-10 08:52:07 +0200 |
commit | 436dae6ae264e9976e323aae234d4b7d02708363 (patch) | |
tree | 0e1f332a49f735f2fad5184e85c7518693e90f5e /kernel/module.c | |
parent | 55e16f49e210a6bad5f856a1ecfa954d7a0dbae7 (diff) |
ASoC: dapm: Fix potential DAI widget pointer deref when linking DAIs
[ Upstream commit e01b4f624278d5efe5fb5da585ca371947b16680 ]
Sometime a component or topology may configure a DAI widget with no
private data leading to a dev_dbg() dereferencne of this data.
Fix this to check for non NULL private data and let users know if widget
is missing DAI.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions