Vinod Koul 7edf4db158 ASoC: hdac_hdmi: Fix potential NULL dereference
Static checker warns:
Pointer 'hlink' returned from call to function 'snd_hdac_ext_bus_get_link'
at line may be NULL and will be dereferenced"

So we should always check the return of snd_hdac_ext_bus_get_link() before
referencing the link pointer

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-07-11 18:19:33 +01:00
..
2016-05-16 14:59:00 +02:00
2016-05-16 14:59:00 +02:00
2016-05-28 12:23:12 -07:00
2016-01-20 09:59:27 +01:00
2015-08-31 16:25:22 +02:00