ASoC: rt5677: Wait for DSP to boot before loading firmware
authorCurtis Malainey <cujomalainey@chromium.org>
Wed, 6 Nov 2019 01:13:36 +0000 (17:13 -0800)
committerMark Brown <broonie@kernel.org>
Mon, 11 Nov 2019 13:02:07 +0000 (13:02 +0000)
commit9da776ba7852f9b5cbfdfaa80a1dc07cda592b55
treee1617b697854165c7bf4c82d06f006c018c8fe82
parentba0b3a977ecf525231d36f2d9f3a6ea05c35090a
ASoC: rt5677: Wait for DSP to boot before loading firmware

Wait for hardware to startup. If we load before hardware is ready we
could end up corrupting the firmware.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Link: https://lore.kernel.org/r/20191106011335.223061-12-cujomalainey@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5677.c