Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a2eff04 authored by Vignesh Kulothungan's avatar Vignesh Kulothungan Committed by Gerrit - the friendly Code Review server
Browse files

hal: enable haptic usecase to send app type cfg

Haptic usecase was not included to send app type config to driver.
During session open driver sets incorrect rtac audio calibration
information and so during real time calibration the tool displays
no COPP information. So include haptic usecase to send app type
configuration.

CRs-Fixed: 2488580
Change-Id: Iae4c4442cd9312a1271876e663fe14ead4c36c54
parent 29deabae
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1134,6 +1134,7 @@ static int send_app_type_cfg_for_device(struct audio_device *adev,
        goto exit_send_app_type_cfg;
    }
    if ((usecase->id != USECASE_AUDIO_PLAYBACK_DEEP_BUFFER) &&
        (usecase->id != USECASE_AUDIO_PLAYBACK_WITH_HAPTICS) &&
        (usecase->id != USECASE_AUDIO_PLAYBACK_LOW_LATENCY) &&
        (usecase->id != USECASE_AUDIO_PLAYBACK_MULTI_CH) &&
        (usecase->id != USECASE_AUDIO_PLAYBACK_ULL) &&