ASoC: AMD: Add NULL pointer check

Fix crash in those platforms whose machine driver does not expose
platform_info. For those platforms we rely on default value and
select I2SSP channel.

Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Agrawal, Akshu 2018-06-07 14:48:43 +08:00 • committed by Mark Brown
commit 6e56e5d041
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0