From: Lars-Peter Clausen Subject: [PATCH 07/14] ASoC: ux500_pcm: No need to use snd_dmaengine_pcm_set_data() Date: Fri, 22 Mar 2013 14:12:07 +0100 Message-ID: <1363957934-20059-8-git-send-email-lars@metafoo.de> References: <1363957934-20059-1-git-send-email-lars@metafoo.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-out-087.synserver.de (smtp-out-087.synserver.de [212.40.185.87]) by alsa0.perex.cz (Postfix) with ESMTP id 502F0266548 for ; Fri, 22 Mar 2013 14:11:02 +0100 (CET) In-Reply-To: <1363957934-20059-1-git-send-email-lars@metafoo.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Mark Brown , Liam Girdwood Cc: Ola Lilja , alsa-devel@alsa-project.org, Lars-Peter Clausen List-Id: alsa-devel@alsa-project.org The driver never uses snd_dmaengine_pcm_get_data(), so there is no need to use snd_dmaengine_pcm_set_data(). Signed-off-by: Lars-Peter Clausen Cc: Ola Lilja --- sound/soc/ux500/ux500_pcm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/ux500/ux500_pcm.c b/sound/soc/ux500/ux500_pcm.c index d000ba2..1ab36fa 100644 --- a/sound/soc/ux500/ux500_pcm.c +++ b/sound/soc/ux500/ux500_pcm.c @@ -155,8 +155,6 @@ static int ux500_pcm_open(struct snd_pcm_substream *substream) return ret; } - snd_dmaengine_pcm_set_data(substream, dma_cfg); - return 0; } -- 1.8.0