From dcb0dc57db300ecf1986a8fec46a7a3c18dae6f1 Mon Sep 17 00:00:00 2001 From: Pig Date: Tue, 3 Nov 2020 21:07:33 +0800 Subject: [PATCH] davinci: tfa98xx: Fix device list initializations Update missing device list initializations. Co-authored-by: SayanAcharya Change-Id: Iaa44429e7a2514f882828089355fca1634b79200 --- tfa98xx/tfa98xx_feedback.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tfa98xx/tfa98xx_feedback.c b/tfa98xx/tfa98xx_feedback.c index 72a11a5..0b00a00 100644 --- a/tfa98xx/tfa98xx_feedback.c +++ b/tfa98xx/tfa98xx_feedback.c @@ -75,6 +75,7 @@ int tfa98xx_feedback(void* adev, uint32_t snd_device, bool enable) { tfa_dev->usecase_tx->id = USECASE_AUDIO_SPKR_CALIB_TX; tfa_dev->usecase_tx->type = PCM_CAPTURE; tfa_dev->usecase_tx->in_snd_device = SND_DEVICE_IN_CAPTURE_VI_FEEDBACK; + list_init(&tfa_dev->usecase_tx->device_list); list_add_tail(&tfa_dev->adev->usecase_list, &tfa_dev->usecase_tx->list); enable_snd_device(tfa_dev->adev, tfa_dev->usecase_tx->in_snd_device);