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:
parent
114449558d
commit
dcb0dc57db
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user