ASoC: core: fix .info for SND_SOC_BYTES_TLV
PATCH 1/1 ASoC: core: fix .info for SND_SOC_BYTES_TLV
From: Subhransu S. Prusty <[email protected]>
Commit 7523a271 - "ASoC: core: add a helper for extended byte controls using TLV" introduced support for TLV byte controls but had a typo for the info function, so fix the same
Signed-off-by Subhransu S. Prusty <[email protected]>
Signed-off-by Vinod Koul <[email protected]>
--- include/sound/soc.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/sound/soc.h +1 -1
@@ -277,7 +277,7 @@ .access = SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE | \ SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK, \ .tlv.c = (snd_soc_bytes_tlv_callback), \ - .info = snd_soc_info_bytes_ext, \ + .info = snd_soc_bytes_info_ext, \ .private_value = (unsigned long)&(struct soc_bytes_ext) \ {.max = xcount, .get = xhandler_get, .put = xhandler_put, } } #define SOC_SINGLE_XR_SX(xname, xregbase, xregcount, xnbits, \
Signature · 1 line
1.7.0.4
Quoted 8 lines · Vinod Koul
From: Subhransu S. Prusty <[email protected]>
Commit
7523a271- "ASoC: core: add a helper for extended byte controls using TLV" introduced support for TLV byte controls but had a typo for the info function, so fix the sameSigned-off-by Subhransu S. Prusty <[email protected]>Signed-off-by Vinod Koul <[email protected]>
Applied, thanks. Please remember to use the Fixes: tag when fixing things.