HACK: Disable secure discard
 * Secure discard is causing wipes to take insane amounts of time.
 * Enable this workaround until the problem is sorted.

Change-Id: If9bbb27fd5476a160e9d7e8b29ab20a851410ff7

Conflicts:
	BoardConfig.mk
hammerhead: Enable USB audio

Change-Id: I83861e0c70eeeb5035f89bfa4c32f19c21236437
hammerhead: Better USB audio support

 * Use new QCOM USB audio path which uses the AFE proxy.
 * This fixes the issues with skips and drops when UI sounds play.

Change-Id: I9941d49b669208959353805f43f51874a415eba3
hammerhead: Always keep 3 buffers ready

 * Reduces overall jank system-wide

Change-Id: I37f6021237c81197063d3fd1fd7e5e07626490c9
hammerhead: Better mount options to improve performance

Change-Id: I18f7165c2ff8547b7968d946336d948fe30522b1
hammerhead: Enable offload for USB audio

Change-Id: I7cc9580865da63330a0bf54d5716ca23a2d6216c
Add support for USB OTG

Change-Id: Id5ded1d14f01e4bd126115866e0bf3bd75d5cfcb
hammerhead: Enable deep buffer output as primary

 * Since we're not offloading audio during AV playback, it's
   better to use DEEP_BUFFER as the primary output and only
   select the FAST output when the flag is set. This saves
   power during video playback.

Change-Id: I94d4de328377e9c351bd77c5ad5b0a7ec96cbb79
hammerhead: Add offload properties

 * Set fragment size (same as default)
 * Enable gapless playback with offloaded streams
 * Enable offloading for AV (but not streaming AV!)

Change-Id: I1b0f8115bc880bd89f5a0c8ed13e4b54d38e0867
hammerhead: Enable new mixer for offload

Change-Id: I21620d3a2612c992dc70a783f20aa8b73e8c9073
hammerhead: Disable forced use of triple framebuffers

 * This can cause additional input latency and isn't really
   needed on this hardware.

Change-Id: I662915c08f9e8b9eef609319806feda880acc7a5
hammerhead: Use less aggressive mount options

 * Reduce potential for FS corruption

Change-Id: I732ac0b4f91d7361a968e26e47ad3c02b2283c46