hal: Fixes for 8916 features

 * Allow additional offload formats
 * Use correct mixer controls for sample rate and bit width

Change-Id: I7db10c7c90de6736ef5e127808ed7411ad71ff86
Merge remote-tracking branch 'cyan/cm-11.0' into cm-11.0
hal: Add get_sample_rate for 8960 platforms

Change-Id: I423c502573a0c962a64a51bd80c88c942aa95621
Revert "hal: Don't mess with primary output"

This reverts commit fc56491ce39b1ee499c69ec25f88d2e3a0fe2b72.

Change-Id: Ifa0b364d01e5057e845572e9c3c011fdbbf02b2b
hal: Support the audio amplifier hook

* Original legacy HAL commit:
  Ib236598a5888b2af19bcfb81e285f644a0e84c0d
* Example: http://review.cyanogenmod.org/38221

Change-Id: Ic944a9f7059c78b79322dae9c787cdd8bb029cff
hal: Fix mismerge

 * Should not have been removed.

Change-Id: Icfd71d7621e99d0a164054b3dceff208f80cd28f
Merge remote-tracking branch 'cyan/cm-11.0' into cm-11.0