[Rebase from R2-R3]audio: Added addtional error handling in SST driver
authorJeeja Kp <jeeja.kp@intel.com>
Sat, 31 Dec 2011 22:04:18 +0000 (03:34 +0530)
committerbuildbot <buildbot@intel.com>
Mon, 9 Jan 2012 17:15:28 +0000 (09:15 -0800)
commitd91bd5d103d5147481e9ab8912e2a24c5b9178d3
tree0557bbded855d1a87e6532dd714b17d1e6d88c30
parent98d993a57909ed184dda57363ace568fad7e9c07
[Rebase from R2-R3]audio: Added addtional error handling in SST driver

BZ: 19267

Old R2 BZ 18108
This patch has the following error handling added
In case of open failure, the system will go to suspend immediately instead
of 2s delay.
Added error handling to check if  firmware is in running state before
sending any request to FW.

Change-Id: Ia7990472b83596dcc7ab9d7fc9c3f8cf280912f8
Old-Change-Id: I292d2086a6564f47733de485f1ada8116e8f10bf
Signed-off-by: Jeeja Kp <jeeja.kp@intel.com>
Reviewed-on: http://android.intel.com:8080/31052
Reviewed-by: M, Arulselvan <arulselvan.m@intel.com>
Tested-by: M, Arulselvan <arulselvan.m@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
sound/pci/sst/intel_sst_drv_interface.c
sound/soc/mid-x86/sst_platform.c