Message ID | 20190613190436.20156-6-cezary.rojewski@intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 9f4f42d710d417745cff05845f93370126f77ff7 |
Headers | show |
Series | ASoC: Intel: Skylake: Critical IPC fixes and flow adjustments | expand |
diff --git a/sound/soc/intel/common/sst-ipc.c b/sound/soc/intel/common/sst-ipc.c index dcff13802c00..fc3340f1da3a 100644 --- a/sound/soc/intel/common/sst-ipc.c +++ b/sound/soc/intel/common/sst-ipc.c @@ -71,7 +71,7 @@ static int tx_wait_done(struct sst_generic_ipc *ipc, } else { /* copy the data returned from DSP */ - if (msg->rx_size) + if (rx_data) memcpy(rx_data, msg->rx_data, msg->rx_size); ret = msg->errno; }