ASoC: hdac_hdmi: fix possible NULL dereference
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 23 Nov 2015 12:15:13 +0000 (17:45 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 23 Nov 2015 14:38:08 +0000 (14:38 +0000)
commit8d33ab24242c5ce2f8e4add8c04d5409e36a330c
tree42e3552a20fe84f101fb86ca8f2c96e0094bf52b
parent96b96a743c65969ebf13c343837db2faff1a8a84
ASoC: hdac_hdmi: fix possible NULL dereference

kzalloc() can return NULL if it fails, and then we will be dereferencing
a NULL pointer.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c