From b07e54a825804d91363bf7a0ad4bc4e7dd445b82 Mon Sep 17 00:00:00 2001 From: Banajit Goswami Date: Sat, 23 Aug 2014 16:02:51 -0700 Subject: ASoC: msm: Enable PCM capture in compressed driver In the use case of HDMI input PCM capture, timestamp received from DSP is required in userspace to propogate it on the playback path. Timestamp mode propagation is availble through the meta data mode in compressed driver. Add support for PCM capture in compressed driver to address the usecase Change-Id: I1221b8e99628dadc136df681619ed960ff7c5c1a Signed-off-by: Subhash Chandra Bose Naripeddy Signed-off-by: Banajit Goswami --- include/uapi/sound/compress_params.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h index 213302d22d95..016f380af0a8 100644 --- a/include/uapi/sound/compress_params.h +++ b/include/uapi/sound/compress_params.h @@ -85,7 +85,8 @@ #define SND_AUDIOCODEC_DTS_PASS_THROUGH ((__u32) 0x0000000E) #define SND_AUDIOCODEC_DTS_LBR ((__u32) 0x0000000F) #define SND_AUDIOCODEC_DTS_TRANSCODE_LOOPBACK ((__u32) 0x00000010) -#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_DTS_TRANSCODE_LOOPBACK +#define SND_AUDIOCODEC_PASS_THROUGH ((__u32) 0x00000011) +#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_PASS_THROUGH /* * Profile and modes are listed with bit masks. This allows for a -- cgit v1.2.3