ion: Revert ION updates for proprietary camera HAL

Squashed commit of the following commits:

Revert "msm: ion: Only return Ion flags in ion_handle_get_flags"

This reverts commit d40fd66600da3e866b50af86ce7f3fec8e21a7d4.

Revert "gpu: ion: fix some missing defines for ion mini upgrade"

This reverts commit 5a062fd2f408dd34c5af60e0b9eb3643aa62384c.

Revert "gpu: ion: move msm-specific ioctls to custom_ioctl"

This reverts commit a94c976b1c12ff78e3b9dd760deca00a15102659.

Revert "gpu: ion: repurpose flags field for heap_mask and caching"

This reverts commit 0356cdd2037050a5994d33c703a10f7652281bcf.

Revert "Revert "ion: restore ics ion_allocation_data structure""

This reverts commit b75661b2d89bf5974654b0145f58eb7409301cda.
ASoc: msm: Increase default buffersize to 4k for audio playback

- Increase default buffersize to 4k from 2k for audio playback
  when HAL is configured with deep buffer output.

bug-id: 7129131
Signed-off-by: SathishKumar Mani <smani@codeaurora.org>
msm-pcm-q6: Add support for flexible recording period size

- Current implementation supports only fixed buffer size
  of 320 bytes only for audio recording. This results in
  performance overhead for recording at higher sample rate.
- Added support for flexible period size so that user can
  use larger buffers for recording at higher sample rates.

Signed-off-by: SathishKumar Mani<smani@codeaurora.org>
Signed-off-by: Iliyan Malchev <malchev@google.com>

Conflicts:
	sound/soc/msm/msm-pcm-q6.c

Change-Id: Ib061ca0106ea240cf2dfeb1816a25b00520e0c22
Initial import of HTC Droid Incredible 4G LTE files

HTC kernel package: fireball-ics-3.0.8-abf7709

Change-Id: I11b4e1b3d9d9330e6cec68017e32d3aec10fd693
fireball: squashed commit of fireball board updates

fireball: update board file for CAF USB Android gadget

Change-Id: Iccab09f6ddc01a43b7f879ec81438f9f19fa2f19

fireball: reset board ION memory reservation to CAF style

Change-Id: Ic4a16305761c9f549702ec0277ce1c2eaedf1010

fireball: remove HTC added rotator heap

Change-Id: I4fd8abad5d5825136e1f7f828ec0bd697e2e6b65

fireball: reserve memory for ION audio

Change-Id: Ice99b40bfeede1e619e51a875efb2518aab4eac0

fireball: update board file for 64K mapping

Change-Id: I4907b03bafd81261cd2557331c1aeeaacf31b1c4

fireball: move MFC heap to different address

Change-Id: I182759f7edb03f0084e1a921ead61638c674bc1a

fireball: support fixed MM heap creation

Change-Id: I927aea7aa96c56aff30f1471e90119b9de08f380

fireball: map all into IOMMU at correct alignments

Change-Id: Ib12124436cc19537bd038d7ecbad4b12e1e867f3

fireball: clean up memory size definitions

Change-Id: I8324e2c9d421b061cf0a2a6dede0c35795ffffb6

fireball: reduce ION carveout heaps

Change-Id: Id9130b16dd4292bb3f2dcac27824cb4fd2bbabbe

fireball: Increase QSECOM ION heap to 7.5MB

Change-Id: I861881da1699751d3fcc4bc3c197e090ab2e3562

fireball: don't add EXT_BUF_SIZE as part of MSM_FB_SIZE

Change-Id: Ia086f9db01b720a92e408459bb731133352b9e85
fireball: squashed commit of panel updates for CAF display code

fireball: remove the predefined mdp clk rate tables

Change-Id: I34bf09fbdfaf2eb0d7052704e66012c1cd77fb36

fireball: add stubs for CAF HDMI on/off

Change-Id: Idfa1e1e77c0a302a19c0adef0be8472fc71eb7be

fireball: update panel code for CAF display code

Change-Id: Id5cf78e013e6596e5a5eec241f86564f69e4ec31

fireball: fix HTC panel for HW vsync

Change-Id: Ia887e79529d67fbd6df5ad599518805eb023b2dd
fireball: make HTC boards select FB_MSM_MIPI_DSI

Change-Id: Iee29e1a2d76c7fd1e591b6da2e6459cd9a790cc8
fireball: bring defconfig up to date with other HTC 8960 devices

Change-Id: Ie513271c0c9df35769038889624904b83cc853e5
ion: add hack for HTC IOMMU camera

HTC liboemcamera requests memory from the CAMERA or IOMMU heaps, which
we cannot provide currently. Since we cannot change liboemcamera, remap
to CP_MM heap if CAMERA heap is requested.

Change-Id: I6b965bb56835583c687f0086efcb153c64cf1e25