OSDN Git Service

ASoC: SOF: imx: Do not initialize the snd_sof_dsp_ops.read64
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Wed, 15 Sep 2021 12:21:07 +0000 (15:21 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 15 Sep 2021 15:25:02 +0000 (16:25 +0100)
The read64 operation is not used by IMX along with other IO functions.
No need to set it for the ops.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <bard.liao@intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20210915122116.18317-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/imx/imx8.c
sound/soc/sof/imx/imx8m.c

index 12fedf0..326aa65 100644 (file)
@@ -419,9 +419,6 @@ struct snd_sof_dsp_ops sof_imx8_ops = {
        .block_read     = sof_block_read,
        .block_write    = sof_block_write,
 
-       /* Module IO */
-       .read64 = sof_io_read64,
-
        /* ipc */
        .send_msg       = imx8_send_msg,
        .fw_ready       = sof_fw_ready,
@@ -468,9 +465,6 @@ struct snd_sof_dsp_ops sof_imx8x_ops = {
        .block_read     = sof_block_read,
        .block_write    = sof_block_write,
 
-       /* Module IO */
-       .read64 = sof_io_read64,
-
        /* ipc */
        .send_msg       = imx8_send_msg,
        .fw_ready       = sof_fw_ready,
index cb822d9..b5c739a 100644 (file)
@@ -271,9 +271,6 @@ struct snd_sof_dsp_ops sof_imx8m_ops = {
        .block_read     = sof_block_read,
        .block_write    = sof_block_write,
 
-       /* Module IO */
-       .read64 = sof_io_read64,
-
        /* ipc */
        .send_msg       = imx8m_send_msg,
        .fw_ready       = sof_fw_ready,