summaryrefslogtreecommitdiff
path: root/sound/core
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-05-03 10:42:58 +0300
committerMark Brown <broonie@kernel.org>2016-05-03 19:30:13 +0300
commit8f658815da156a9239b98b34e5ba1d3db71a2f6e (patch)
tree2cab3ee1f64e8726397c3b286df2431443f87cea /sound/core
parentea5a137d0fe263854ae6267a0fa208c544d83452 (diff)
downloadlinux-8f658815da156a9239b98b34e5ba1d3db71a2f6e.tar.xz
ASoC: hdac_hdmi: Potential NULL deref in hdac_hdmi_get_spk_alloc()
We intended || here instead of &&. The original code potentially leads to a NULL dereference. Fixes: 2889099eb8cd ('ASoC: hdac_hdmi: Register chmap controls and ops') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewd-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Acked-by: Vinod Koul <vinod.koul@intel.com> Tested-by: Sachin Mokashi <sachinx.mokashi@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions