Revert "ASoC: msm: Register restart api for under run issue."

This reverts commit fca01e99df183d2bedd1dc5663663049ea39d814.
msm: wfd: Fix for freeing recon buffers in enc subdev

Due to improper ION handle check, unmap is not happening.
Added proper ion handle check, to unmap buffers.

Change-Id: I0fcf82307deee9845cdc98c76ac6e87af6dbcd62
CRs-Fixed: 401244
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
Signed-off-by: Neha Pandey <nehap@codeaurora.org>

Conflicts:
	drivers/media/video/msm_wfd/enc-subdev.c
msm: kgsl: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: Ibc0856a9bcced14d1531f229d8cb232b9f787151
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: board-8064: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: I41320985706f1771ed98d982b02f20db1990d29e
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: board-8930: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: Id9ca03e8f9c8c53b2ad8f17ebbe6ceecc596a211
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: 8930: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: I7abd97d3beeee7b3d5639871ebd50ebf89d87f5d
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: 8960: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: I834f3959985e74843b81b367df92fa48aa87cec7
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: 8960: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: I6d05f982b35cbfed70bdd36c3b09fa1b37c88dfe
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: 9615: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: Iccf733e83c0621125f5e32e58f4bc7891b2159a0
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: 9615: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: I16ad3bb40a76e414881bbf41b789d7bbed07ccdd
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: 7627a: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: I3a1609e57c5156742300706cee698bd6e829c948
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: 8660: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: I8572215d3826824044e71f624143d612637dd4b2
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: 7627a: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: I809bc6b523e5469591ca38e663ebc0e0a38181f6
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: 8064: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: I7ab1595d0811dc6d053195ec80cb57cc108b23d6
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: 8930: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: I05f5fb6c606768b480f664fc780d88edcd1b95bc
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: 8960: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: Ia8cf2d01d72e30a9fa68a1608ecefb07867e6504
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: 8660: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: I9a6e95048b9c7a89e6a01c456a36a315ce79e64b
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
media: dvb: mpq: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: I8f76b1c78d2a435de337a88d00d4369a88dcbc99
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
gpu: ion: move msm-specific ioctls to custom_ioctl

To avoid collisions with future ioctls that may be added to ion,
msm-specific ioctls should use the `custom_ioctl' interface provided
by struct ion_device, as originally intended.

Change-Id: I68d32b81c7691fd3f54f38acfdc17fee2573bc44
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
ion: remove ion_validate_buffer_flag

ion_validate_buffer_flag is no longer needed since its only callers
are moving to a new format for buffer flags.

Change-Id: I90f23123681eaefb40b530aec5eaf596770acf18
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>