msm: ultrasound: Add Sync Gesture data format

A new Sync Gesture service has been added to userspace and QDSP6.
This service data format should be supported in the ultrasound
related definitions in the kernel.

Change-Id: I99dcaa74915c73ffb7329fb88226866b79a7ef73
Signed-off-by: Ravit Dennis <rdennis@codeaurora.org>
Signed-off-by: poondog <markj338@gmail.com>
msm: ultrasound: support multiple devices, conflicting with USF

The USF input device can have a number of devices,
conflicting with it.
The first registered device (primary) is real TSC device.
Optionally, later registered devices are simulated ones.
The input events from the multiple devices should be
controlled by USF.

CR-Fixed: 583511
Change-Id: I07983546c6e70e562bdf3f833ab1ba17b2b9e399
Signed-off-by: Baruch Eruchimovitch <baruche@codeaurora.org>
Signed-off-by: poondog <markj338@gmail.com>
msm: ultrasound: add verifications of some input parameters

Some security vulnerabilities were found.
To fix them, additional verifications of some input parameters
are required.

CRs-Fixed: 554575, 554560, 555030
Change-Id: Ie87a433bcda89c3e462cfd511c168e8306056020
Signed-off-by: Baruch Eruchimovitch <baruche@codeaurora.org>
Signed-off-by: poondog <markj338@gmail.com>