mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
Revert "ASoC: msm-pcm-host-voice: Check validity of session idx"
This reverts commit 95b9d46367.
Reason for revert: Duplicated commit
Change-Id: I9f28d2f45cd02c3970037687bcb17c674faebffd
This commit is contained in:
parent
fcb5d8ea5b
commit
f4c3cbf88f
1 changed files with 0 additions and 7 deletions
|
|
@ -752,13 +752,6 @@ void hpcm_notify_evt_processing(uint8_t *data, char *session,
|
|||
return;
|
||||
}
|
||||
|
||||
if (prtd->mixer_conf.sess_indx < VOICE_INDEX ||
|
||||
prtd->mixer_conf.sess_indx >= MAX_SESSION) {
|
||||
pr_err("%s:: Invalid session idx %d\n",
|
||||
__func__, prtd->mixer_conf.sess_indx);
|
||||
return;
|
||||
}
|
||||
|
||||
if (notify_evt->tap_point == VSS_IVPCM_TAP_POINT_TX_DEFAULT) {
|
||||
tp = &prtd->session[prtd->mixer_conf.sess_indx].tx_tap_point;
|
||||
tmd = &prtd->mixer_conf.tx;
|
||||
|
|
|
|||
Loading…
Reference in a new issue