commit | 80ba2669ec8c3e6517aa935001f6cb8809bf3df4 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Thu Jun 04 16:04:14 2015 +0300 |
committer | Mark Brown <broonie@kernel.org> | Thu Jun 04 17:49:46 2015 +0100 |
tree | 7014149c60e2edadbfb3407a6dbf23441fe2cc13 | |
parent | ea178d1456dcf88875d5edd148f2df8ea0de1794 [diff] |
ASoC: tas2552: Fix kernel crash when the codec is loaded but not part of a card If the card is not part of any card the tas_data->codec is NULL since it is set only during snd_soc_codec_driver.probe, which is not yet called. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org