ASoC: Intel: Skylake: Remove second shim read in register_poll
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Wed, 6 Dec 2017 11:04:01 +0000 (16:34 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 6 Dec 2017 17:44:50 +0000 (17:44 +0000)
commitb2ca3bdd07f68ca63fdb8e45f1fe039ba6af54a2
tree7fc0653deaa67177b7d39f858fc379f62ef9f88f
parent187c43df88196c0c4b231771a39e4a46f20a4f7a
ASoC: Intel: Skylake: Remove second shim read in register_poll

No need to read the register again if the value read has already matched
the target during the loop. So remove the second shim read.

Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/sst-dsp.c