All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	jarkko.nikula@bitmer.com
Cc: alsa-devel@alsa-project.org, linux-omap@vger.kernel.org
Subject: [PATCH v3 2/8] ASoC: omap-mcbsp: Skip dma_data.maxburst initialization
Date: Thu, 8 Nov 2018 09:29:54 +0200	[thread overview]
Message-ID: <20181108073000.21114-3-peter.ujfalusi@ti.com> (raw)
In-Reply-To: <20181108073000.21114-1-peter.ujfalusi@ti.com>

It is configured runtime so no need to initialize it.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
---
 sound/soc/omap/mcbsp.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sound/soc/omap/mcbsp.c b/sound/soc/omap/mcbsp.c
index d6784f2887e4..8c3cedfcb878 100644
--- a/sound/soc/omap/mcbsp.c
+++ b/sound/soc/omap/mcbsp.c
@@ -1035,11 +1035,8 @@ int omap_mcbsp_init(struct platform_device *pdev)
 
 	mcbsp->dma_data[0].addr = omap_mcbsp_dma_reg_params(mcbsp,
 						SNDRV_PCM_STREAM_PLAYBACK);
-	mcbsp->dma_data[0].maxburst = 4;
-
 	mcbsp->dma_data[1].addr = omap_mcbsp_dma_reg_params(mcbsp,
 						SNDRV_PCM_STREAM_CAPTURE);
-	mcbsp->dma_data[1].maxburst = 4;
 
 	mcbsp->fclk = clk_get(&pdev->dev, "fck");
 	if (IS_ERR(mcbsp->fclk)) {
-- 
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

  parent reply	other threads:[~2018-11-08  7:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-08  7:29 [PATCH v3 0/8] ASoC: omap-mcbsp: Cleanup and split core/sidetone support Peter Ujfalusi
2018-11-08  7:29 ` [PATCH v3 1/8] ASoC: omap-mcbsp: Clean up dma_data addr initialization code Peter Ujfalusi
2018-11-13 18:33   ` Applied "ASoC: omap-mcbsp: Clean up dma_data addr initialization code" to the asoc tree Mark Brown
2018-11-08  7:29 ` Peter Ujfalusi [this message]
2018-11-08  7:29 ` [PATCH v3 3/8] ASoC: omap-mcbsp: Clean up the interrupt handlers Peter Ujfalusi
2018-11-08  7:29 ` [PATCH v3 4/8] ASoC: omap-mcbsp: Simplify the mcbsp_start/_stop function parameters Peter Ujfalusi
2018-11-08  7:29 ` [PATCH v3 5/8] ASoC: omap-mcbsp: Move out the FIFO check from set_threshold and get_delay Peter Ujfalusi
2018-11-08  7:29 ` [PATCH v3 6/8] ASoC: omap-mcbsp: Re-arrange files for core McBSP and Sidetone function split Peter Ujfalusi
2018-11-08  7:29 ` [PATCH v3 7/8] ASoC: omap-mcbsp: Remove redundant check for mcbsp->pdata Peter Ujfalusi
2018-11-08  7:30 ` [PATCH v3 8/8] ASoC: omap-mcbsp: No need to initialize max_xx_thres when it is not used Peter Ujfalusi
2018-11-10 15:59 ` [PATCH v3 0/8] ASoC: omap-mcbsp: Cleanup and split core/sidetone support Jarkko Nikula
2018-11-12 13:35   ` Peter Ujfalusi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181108073000.21114-3-peter.ujfalusi@ti.com \
    --to=peter.ujfalusi@ti.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=jarkko.nikula@bitmer.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.