[Audio] Change the Audience FW selection mechanism
authorMathieu Soulard <mathieu.soulard@intel.com>
Wed, 23 May 2012 15:31:35 +0000 (17:31 +0200)
committerbuildbot <buildbot@intel.com>
Thu, 31 May 2012 13:49:32 +0000 (06:49 -0700)
commitb2c2e9a409a73fbdd8fef6eb896c04b5ba8bd891
tree7eb765164d003915eaf57307cabe386c2f287d96
parent256cba2085cf829246af48ce56daf17d2593a2ce
[Audio] Change the Audience FW selection mechanism

BZ: 25136

We need to control which firmware is loaded by the driver.

The es305b driver uses the platform data to know which firmware
should be loaded.
The FW selection is choosen on the user side. The solution is to
extend the BOOTUP_INIT ioctl command to handle the filename as
argument comming from the user space.

Change-Id: I5cbcdec6c77b9e89440e3bdc38d9b9eb06f8f661
Signed-off-by: Mathieu Soulard <mathieu.soulard@intel.com>
Reviewed-on: http://android.intel.com:8080/49920
Reviewed-by: De Chivre, Renaud <renaud.de.chivre@intel.com>
Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/platform/intel-mid/device_libs/platform_a1026.c
drivers/misc/a1026.c
include/linux/a1026.h