asoc: fix compilation issues

Fix compilation issues for qcs405.

CRs-Fixed: 2248380
Change-Id: I1a4929dbcd888cb6be30a155d2f492cbf314a25a
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
This commit is contained in:
Mangesh Kunchamwar
2018-06-28 19:42:24 +05:30
parent a6a600898a
commit daf02b01f2
4 changed files with 10 additions and 48 deletions

View File

@@ -13589,7 +13589,7 @@ static int tasha_codec_probe(struct snd_soc_codec *codec)
if (tasha->is_wsa_attach)
snd_soc_add_codec_controls(codec,
tasha_spkr_wsa_controls,
ARRAY_SIZE(tasha_wsa_controls));
ARRAY_SIZE(tasha_spkr_wsa_controls));
control->num_rx_port = TASHA_RX_MAX;
control->rx_chs = ptr;
memcpy(control->rx_chs, tasha_rx_chs, sizeof(tasha_rx_chs));