15 Jul
2015
15 Jul
'15
7:16 p.m.
On Wed, Jul 15, 2015 at 07:58:09AM -0700, yang.a.fang@intel.com wrote:
From: Shilpa Sreeramalu shilpa.sreeramalu@intel.com
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.
Acked-by: Vinod Koul vinod.koul@intel.com
--
~Vinod