diff options
author | Shilpa Sreeramalu <shilpa.sreeramalu@intel.com> | 2015-07-15 07:58:09 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-15 17:03:36 +0100 |
commit | 412efa73dcd3bd03c1838c91e094533a95529039 (patch) | |
tree | 05dc201cbb00da9670fcf07e32224a43beb0e402 /drivers/parport | |
parent | 8bc76c8bf6e5d96985eb05afe1b94699d580eb68 (diff) | |
download | linux-412efa73dcd3bd03c1838c91e094533a95529039.tar.gz linux-412efa73dcd3bd03c1838c91e094533a95529039.tar.bz2 linux-412efa73dcd3bd03c1838c91e094533a95529039.zip |
ASoC: Intel: Get correct usage_count value to load firmware
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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/parport')
0 files changed, 0 insertions, 0 deletions