ASoC: Intel: Skylake: Verify the status bit before handling interrupt
authorJeeja KP <jeeja.kp@intel.com>
Fri, 9 Oct 2015 08:01:49 +0000 (09:01 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 9 Oct 2015 10:18:59 +0000 (11:18 +0100)
commitdef656fe22abb4fbf174a982dcef1d40274ddb11
tree18fda2a0d4a6fe0732b737b54aa1e440230d312b
parent6ea8ba33e65d3d284de7e7373939352e2c728f10
ASoC: Intel: Skylake: Verify the status bit before handling interrupt

Like we have in legacy mode HDA driver, we need to check the
status bit and handle interrupt only when it is not zero or all
bits set.  We typically see the status as all 1's when controller
resumes from suspend, So add the check here as well and don't
handle for these cases.

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