msm: ultrasound: update proximity data format

Data format has been updated in the proximity service,
running on QDSP6.
This update should be supported in the ultrasound related
definitions in the kernel.

Change-Id: I27260fff55b48bb10f22e8bbaaaa13c4202c2121
Signed-off-by: Baruch Eruchimovitch <baruche@codeaurora.org>
This commit is contained in:
Baruch Eruchimovitch
2013-05-05 21:38:28 +03:00
parent 4f8e7b7cf2
commit 1f66891690
3 changed files with 8 additions and 2 deletions
@@ -17,7 +17,7 @@
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/msm_audio.h>
#include <sound/apr_audio.h>
#include <sound/apr_audio-v2.h>
#include <mach/qdsp6v2/apr_us_b.h>
#include "q6usm.h"
+6
View File
@@ -6928,4 +6928,10 @@ struct afe_svc_cmd_set_clip_bank_selection {
struct afe_port_param_data_v2 pdata;
struct afe_param_id_clip_bank_sel bank_sel;
} __packed;
/* Ultrasound supported formats */
#define US_POINT_EPOS_FORMAT 0x00012310
#define US_RAW_FORMAT 0x0001127C
#define US_PROX_FORMAT 0x0001272B
#endif /*_APR_AUDIO_V2_H_ */
+1 -1
View File
@@ -1262,7 +1262,7 @@ struct asm_stream_cmd_open_read_v2_1 {
#define MPEG4_MULTI_AAC 0x00010D86
#define US_POINT_EPOS_FORMAT 0x00012310
#define US_RAW_FORMAT 0x0001127C
#define US_PROX_FORMAT 0x00012721
#define US_PROX_FORMAT 0x0001272B
#define MULTI_CHANNEL_PCM 0x00010C66
#define ASM_ENCDEC_SBCRATE 0x00010C13