ASoC: Intel: bxtn: optimize ROM init retries
authorJeeja KP <jeeja.kp@intel.com>
Fri, 17 Feb 2017 17:18:57 +0000 (22:48 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 7 Mar 2017 12:48:01 +0000 (13:48 +0100)
commit7d3f91dc1e4db18b644695c9442c62679a5dff6e
treecea19eca72bb8a01d2cc7ac1f122e45767c366db
parent31d648f051fe82c9d6c2176b1b5ee402b1a18f21
ASoC: Intel: bxtn: optimize ROM init retries

During S3->S0 transition, sometime ROM init fails because of
authentication engine loads later than the OS. In this case driver
waits for a longer period and then retries the FW download causing
huge delay in resume time of audio device.

To avoid this, ROM INIT wait time is set to a optimal value and
increased the retries for firmware download.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/bxt-sst.c