From patchwork Tue May 24 18:50:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Gardiner X-Patchwork-Id: 813372 Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4OIxdkM012660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 24 May 2011 19:00:01 GMT Received: from dlep34.itg.ti.com ([157.170.170.115]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id p4OIwn88025889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 24 May 2011 13:58:49 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep34.itg.ti.com (8.13.7/8.13.7) with ESMTP id p4OIwnfd002386; Tue, 24 May 2011 13:58:49 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 0287D80627; Tue, 24 May 2011 13:58:49 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp52.itg.ti.com (dflp52.itg.ti.com [128.247.22.96]) by linux.omap.com (Postfix) with ESMTP id B89A980626 for ; Tue, 24 May 2011 13:58:46 -0500 (CDT) Received: from red.ext.ti.com (red.ext.ti.com [192.94.93.37]) by dflp52.itg.ti.com (8.13.7/8.13.8) with ESMTP id p4OIwkKj016842 for ; Tue, 24 May 2011 13:58:46 -0500 (CDT) Received: from psmtp.com (na3sys009amx232.postini.com [74.125.149.116]) by red.ext.ti.com (8.13.7/8.13.7) with SMTP id p4OIwj9t030679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 24 May 2011 13:58:46 -0500 Received: from na3sys009aog107.obsmtp.com ([209.85.212.48]) (using TLSv1) by na3sys009amx232.postini.com ([74.125.148.10]) with SMTP; Tue, 24 May 2011 11:58:46 PDT Received: from mail-vw0-f48.google.com ([209.85.212.48]) (using TLSv1) by na3sys009aob107.postini.com ([74.125.148.12]) with SMTP ID DSNKTdv/5XFNyWirrX7g2q099b9Qts9pcI/S@postini.com; Tue, 24 May 2011 11:58:46 PDT Received: by mail-vw0-f48.google.com with SMTP id 7so8007267vws.35 for ; Tue, 24 May 2011 11:58:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nanometrics.ca; s=google; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=2gnx378sVGFNuUIkK7joSUYyv3B9zgFgmHaWIHMgp/Y=; b=p/LBeJ/c8U4lvru6RekrFsA+2XtedTpCn7Qm6leFm3d2vWYvcQ/PRWCx8uL2U+kvyh MQgNv8+ujL7VBBAPsNKjHNVv2teOSthGTySwfW2/1R26CRYoKkVdNyRrTbtrhjYvsIoQ 2dGb7F/8Q2PS7KJRA1HZeZ4AKLejuIKfb+FOM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=nanometrics.ca; s=google; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=YXS5dzSFC3Cte4j1OHpUe6mY+Kgf1R9XRKdkHPeVnbmA+RnuUSFgtJmWv7J9gPYvkc OGbSGmin6fd/x+YWCHchtIhwgmOfDvJV+EC0BKim8JzHHAlcuksSo/WN8Mv8EMmyyj8f mjt9YISmAg56T1IEDBdNOLriZKcvjB2PeGjCg= Received: by 10.220.136.206 with SMTP id s14mr1195597vct.2.1306263026828; Tue, 24 May 2011 11:50:26 -0700 (PDT) Received: from localhost.localdomain ([206.191.47.130]) by mx.google.com with ESMTPS id d18sm1646004vcs.40.2011.05.24.11.50.25 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 May 2011 11:50:26 -0700 (PDT) From: Ben Gardiner To: Mark Brown , Sekhar Nori , Liam Girdwood , alsa-devel@alsa-project.org, davinci-linux-open-source@linux.davincidsp.com Subject: [PATCH 3/6] ASoC: davinci-pcm: increase the maximum channels Date: Tue, 24 May 2011 14:50:17 -0400 Message-Id: <0627d11625ae11c83601978eb0c2a9dceef69652.1306258759.git.bengardiner@nanometrics.ca> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: References: X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:99.90000/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-settings: 2 (0.5000:0.0750) s cv GT3 gt2 gt1 r p m c X-pstn-addresses: from [db-null] Cc: Steven Faludi X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 24 May 2011 19:00:01 +0000 (UTC) Based on the registration of davinci-mcasp.1 in the davinci-evm platform setup for da830 and dm6467, davinci-pcm can handle more than the currently reported maximum channels of 2. Increase the maximum channels to 384 to match the maximum reported by davinci-mcasp.1. Signed-off-by: Ben Gardiner Reviewed-by: Steven Faludi --- sound/soc/davinci/davinci-pcm.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/davinci/davinci-pcm.c b/sound/soc/davinci/davinci-pcm.c index 1e47267..9b5a9bf 100644 --- a/sound/soc/davinci/davinci-pcm.c +++ b/sound/soc/davinci/davinci-pcm.c @@ -75,7 +75,7 @@ static struct snd_pcm_hardware pcm_hardware_playback = { .rate_min = 8000, .rate_max = 96000, .channels_min = 2, - .channels_max = 2, + .channels_max = 384, .buffer_bytes_max = 128 * 1024, .period_bytes_min = 32, .period_bytes_max = 8 * 1024, @@ -97,7 +97,7 @@ static struct snd_pcm_hardware pcm_hardware_capture = { .rate_min = 8000, .rate_max = 96000, .channels_min = 2, - .channels_max = 2, + .channels_max = 384, .buffer_bytes_max = 128 * 1024, .period_bytes_min = 32, .period_bytes_max = 8 * 1024,