Audio Comms I2S Test Driver : add timeout + add abort command support
authorRenaud de Chivre <renaud.de.chivre@intel.com>
Thu, 3 May 2012 09:11:58 +0000 (11:11 +0200)
committerbuildbot <buildbot@intel.com>
Thu, 24 May 2012 00:19:55 +0000 (17:19 -0700)
commit2ced0edb099e6a52b96df10744ba90e49d9cdaf7
treec617a1101fc5fe702ffcf0f13b7e6173a24d35c2
parent6390af9058e0b495b0c217fb6290ecf12130a24a
Audio Comms I2S Test Driver : add timeout + add abort command support

BZ: 37691

Add timeout on read and write that will abort ssp operation if elapsed.
Add checks concerning dma channel allocation.

Change-Id: I62e6ebfde12defcc0165ee6e188d0a5eb3691c6d
Signed-off-by: Renaud de Chivre <renaud.de.chivre@intel.com>
Reviewed-on: http://android.intel.com:8080/47226
Reviewed-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/misc/mid_i2s_dev/intel_mid_ssp_test_driver.c
drivers/misc/mid_i2s_dev/intel_mid_ssp_test_driver.h