diff options
author | Ashish Jain <ashishj@codeaurora.org> | 2016-02-16 21:04:07 +0530 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:21:16 -0700 |
commit | 9d07dff310542464dbd1d32ad89e6d5657d9ff55 (patch) | |
tree | fbb59228839434b49bd181662e2bd4a1c3f148a9 /include | |
parent | 705109f05d240c875989b59101b8d203e45bbeb4 (diff) |
ASoC: msm: Use legacy ASM APIs for older targets
With 3.18 kernel, get_session_time command to
DSP is updated to new command. This
command is not supported on older targets as
they have an older DSP version. To have backwards
compatibility, based on DSP version choose which
command to use.
CRs-Fixed: 978676
Change-Id: I76b0cfcd84df90d7a206690cb8aa1eb773fdc53d
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/q6asm-v2.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sound/q6asm-v2.h b/include/sound/q6asm-v2.h index 44c216907006..1a0471dac0b3 100644 --- a/include/sound/q6asm-v2.h +++ b/include/sound/q6asm-v2.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. +/* Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -456,6 +456,8 @@ int q6asm_set_mute(struct audio_client *ac, int muteflag); int q6asm_get_session_time(struct audio_client *ac, uint64_t *tstamp); +int q6asm_get_session_time_legacy(struct audio_client *ac, uint64_t *tstamp); + int q6asm_send_audio_effects_params(struct audio_client *ac, char *params, uint32_t params_length); |