diff mbox

[1/3] ASoC: core: mark SND_SOC_BYTES_EXT as deprecated

Message ID 1448293951-32071-2-git-send-email-vinod.koul@intel.com (mailing list archive)
State Accepted
Commit 50a4f98d3452ea3818eb364f9c34a9de139df654
Headers show

Commit Message

Vinod Koul Nov. 23, 2015, 3:52 p.m. UTC
Since we have SND_SOC_BYTES_TLV control to lets devices have
larger size data sent, we do not need SND_SOC_BYTES_EXT with 512
byte limitation so mark it deprecated

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
 include/sound/soc.h | 3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

diff --git a/include/sound/soc.h b/include/sound/soc.h
index d2a80508a048..03431e76c932 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -293,6 +293,9 @@ 
 		{.base = xbase, .num_regs = xregs,	      \
 		 .mask = xmask }) }
 
+/*
+ * SND_SOC_BYTES_EXT is deprecated, please USE SND_SOC_BYTES_TLV instead
+ */
 #define SND_SOC_BYTES_EXT(xname, xcount, xhandler_get, xhandler_put) \
 {	.iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \
 	.info = snd_soc_bytes_info_ext, \