commit | eb50fa1739a63cc4b202b40a62d71055a2d7b80c | [log] [tgz] |
---|---|---|
author | Subhransu S. Prusty <subhransu.s.prusty@intel.com> | Tue Nov 07 16:16:25 2017 +0530 |
committer | Mark Brown <broonie@kernel.org> | Wed Nov 08 18:58:24 2017 +0000 |
tree | cbae0061a34ec9cd3f28d6a8ca4b4470e8d06c3a | |
parent | 70e97a2d9c5266487dfec4cade28f8e587927f04 [diff] |
ASoC: hdac_hdmi: Fix possible NULL pointer dereference Pointers hdac_hdmi_pcm and hda_device_id can be NULL, so add check for valid pointer to avoid NULL pointer dereference. Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com> Acked-By: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>