davinci: tfa98xx: Fix device list initializations

Update missing device list initializations.

Co-authored-by: SayanAcharya <rowdysayan99@gmail.com>
Change-Id: Iaa44429e7a2514f882828089355fca1634b79200
This commit is contained in:
Pig 2020-11-03 21:07:33 +08:00 committed by Arian
parent 114449558d
commit dcb0dc57db
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -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);