The functions qcom_slim_ngd_xfer_msg and qcom_slim_ngd_xfer_msg_sync declare a local completion variable called tx_sent. However, this variable is accessed beyond the scope of these functions. To address this issue: 1. Instead of keeping done as a local variable, move it to qcom_slim_ngd_ctrl. 2. Initialize done during the probe phase. 3. Use this variable for handling transfer and synchronization messages. Change-Id: I6de6ee5e6cb6c25c63d6d91b313170d2cbbeea86 Signed-off-by: Viken Dadhaniya <quic_vdadhani@quicinc.com> |
||
|---|---|---|
| .. | ||
| core.c | ||
| Kconfig | ||
| Makefile | ||
| messaging.c | ||
| qcom-ctrl.c | ||
| qcom-ngd-ctrl.c | ||
| sched.c | ||
| slimbus.h | ||
| stream.c | ||
| trace.h | ||