]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84bcec0a408413726de79f635fb28a7574807b31
tree7fc0653deaa67177b7d39f858fc379f62ef9f88f
parentbaa04e3a56541bdaa5aa8c89d7dfcec0bbdb0f99
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