From patchwork Thu Aug 13 14:35:28 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 41073 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7DEnNs1025743 for ; Thu, 13 Aug 2009 14:49:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754120AbZHMOtR (ORCPT ); Thu, 13 Aug 2009 10:49:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754545AbZHMOtR (ORCPT ); Thu, 13 Aug 2009 10:49:17 -0400 Received: from smtp.nokia.com ([192.100.122.233]:38979 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754120AbZHMOsv (ORCPT ); Thu, 13 Aug 2009 10:48:51 -0400 Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n7DEmXSj012260; Thu, 13 Aug 2009 17:48:39 +0300 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 13 Aug 2009 17:48:44 +0300 Received: from vaebe101.NOE.Nokia.com ([10.160.244.11]) by vaebh104.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 13 Aug 2009 17:48:44 +0300 Received: from localhost.localdomain ([172.21.41.99]) by vaebe101.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 13 Aug 2009 17:48:42 +0300 From: Eduardo Valentin To: Linux-OMAP , ALSA-Devel Cc: Jarkko Nikula , "\\\"Ujfalusi Peter (Nokia-D/Tampere)\\\"" , "Nurkkala Eero.An (EXT-Offcode/Oulu)" , Eduardo Valentin Subject: [PATCHv3 15/20] ASoC: OMAP: Make DMA 64 aligned Date: Thu, 13 Aug 2009 17:35:28 +0300 Message-Id: <1250174133-451-16-git-send-email-eduardo.valentin@nokia.com> X-Mailer: git-send-email 1.6.2.GIT In-Reply-To: <1250174133-451-15-git-send-email-eduardo.valentin@nokia.com> References: <1250174133-451-1-git-send-email-eduardo.valentin@nokia.com> <1250174133-451-2-git-send-email-eduardo.valentin@nokia.com> <1250174133-451-3-git-send-email-eduardo.valentin@nokia.com> <1250174133-451-4-git-send-email-eduardo.valentin@nokia.com> <1250174133-451-5-git-send-email-eduardo.valentin@nokia.com> <1250174133-451-6-git-send-email-eduardo.valentin@nokia.com> <1250174133-451-7-git-send-email-eduardo.valentin@nokia.com> <1250174133-451-8-git-send-email-eduardo.valentin@nokia.com> <1250174133-451-9-git-send-email-eduardo.valentin@nokia.com> <1250174133-451-10-git-send-email-eduardo.valentin@nokia.com> <1250174133-451-11-git-send-email-eduardo.valentin@nokia.com> <1250174133-451-12-git-send-email-eduardo.valentin@nokia.com> <1250174133-451-13-git-send-email-eduardo.valentin@nokia.com> <1250174133-451-14-git-send-email-eduardo.valentin@nokia.com> <1250174133-451-15-git-send-email-eduardo.valentin@nokia.com> X-OriginalArrivalTime: 13 Aug 2009 14:48:42.0815 (UTC) FILETIME=[270F1CF0:01CA1C25] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Signed-off-by: Eduardo Valentin --- sound/soc/omap/omap-pcm.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c index 84a1950..2422a42 100644 --- a/sound/soc/omap/omap-pcm.c +++ b/sound/soc/omap/omap-pcm.c @@ -288,7 +288,7 @@ static struct snd_pcm_ops omap_pcm_ops = { .mmap = omap_pcm_mmap, }; -static u64 omap_pcm_dmamask = DMA_BIT_MASK(32); +static u64 omap_pcm_dmamask = DMA_BIT_MASK(64); static int omap_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream) @@ -338,7 +338,7 @@ int omap_pcm_new(struct snd_card *card, struct snd_soc_dai *dai, if (!card->dev->dma_mask) card->dev->dma_mask = &omap_pcm_dmamask; if (!card->dev->coherent_dma_mask) - card->dev->coherent_dma_mask = DMA_BIT_MASK(32); + card->dev->coherent_dma_mask = DMA_BIT_MASK(64); if (dai->playback.channels_min) { ret = omap_pcm_preallocate_dma_buffer(pcm,