diff options
author | Daniel Baluta <daniel.baluta@gmail.com> | 2019-06-03 19:20:25 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-06-03 19:47:49 +0300 |
commit | 6fbbc18ead0f4f64a722f7e325046e5860d2c52b (patch) | |
tree | 83553223e2e73accbf148600e83cb2335e69f77b /sound/soc/sof/intel/cnl.c | |
parent | 5c9714f637365a84e05f0532cd9ae00c65b70dc1 (diff) | |
download | linux-6fbbc18ead0f4f64a722f7e325046e5860d2c52b.tar.xz |
ASoC: SOF: Do not send cmd via SHIM register
We use shim registers only to notify the other
side that a message was sent. The actual information
for the message is transmitted via mailbox.
cmd information inside shim register is not used by
the DSP, so we remove it to avoid confusion.
Signed-off-by: Daniel Baluta <daniel.baluta@gmail.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/cnl.c')
-rw-r--r-- | sound/soc/sof/intel/cnl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/sof/intel/cnl.c b/sound/soc/sof/intel/cnl.c index e59d180da7e2..fd86269b5037 100644 --- a/sound/soc/sof/intel/cnl.c +++ b/sound/soc/sof/intel/cnl.c @@ -151,13 +151,11 @@ static void cnl_ipc_dsp_done(struct snd_sof_dev *sdev) static int cnl_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) { - u32 cmd = msg->header; - /* send the message */ sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, msg->msg_size); snd_sof_dsp_write(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCIDR, - cmd | CNL_DSP_REG_HIPCIDR_BUSY); + CNL_DSP_REG_HIPCIDR_BUSY); return 0; } |