linux/sound/soc/intel
Shilpa Sreeramalu ba8d2b484d ASoC: Intel: Get correct usage_count value to load firmware
commit 412efa73dc upstream.

The usage_count variable was read before it was set to the correct
value, due to which the firmware load was failing. Because of this
IPC messages sent to the firmware were timing out causing a delay
of about 1 second while playing audio from the internal speakers.

With this patch the usage_count is read after the function call
pm_runtime_get_sync which will increment the usage_count variable
and the firmware load is successful and all the IPC messages are
processed correctly.

Signed-off-by: Shilpa Sreeramalu <shilpa.sreeramalu@intel.com>
Signed-off-by: Fang, Yang A <yang.a.fang@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-08-16 20:52:17 -07:00
..
atom ASoC: Intel: Get correct usage_count value to load firmware 2015-08-16 20:52:17 -07:00
baytrail ASoC: Intel: sst_byt: remove kfree for memory allocated with devm_kzalloc 2015-04-17 14:34:55 +01:00
boards ASoC: Intel: create atom folder and move atom platform files in 2015-04-06 17:49:45 +01:00
common Merge remote-tracking branch 'asoc/topic/intel' into asoc-next 2015-04-12 19:48:33 +01:00
haswell ASoC: Intel: Remove invalid kfree of devm allocated data 2015-04-15 17:08:08 +01:00
Kconfig Merge branch 'fix/intel' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-intel 2015-02-05 20:18:39 +00:00
Makefile ASoC: Intel: fix the makefile for atom code 2015-04-23 10:32:48 +01:00