From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Ujfalusi Subject: Re: [PATCH 11/20] OMAP: McBSP: Add link DMA mode selection Date: Wed, 5 Aug 2009 11:58:57 +0300 Message-ID: <200908051158.57440.peter.ujfalusi@nokia.com> References: <1248958183-15015-1-git-send-email-eduardo.valentin@nokia.com> <1248958183-15015-12-git-send-email-eduardo.valentin@nokia.com> <20090805103900.5ad89efe.jhnikula@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mgw-mx03.nokia.com (smtp.nokia.com [192.100.122.230]) by alsa0.perex.cz (Postfix) with ESMTP id 6F8B610384D for ; Wed, 5 Aug 2009 10:59:07 +0200 (CEST) In-Reply-To: <20090805103900.5ad89efe.jhnikula@gmail.com> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org Cc: "linux-omap@vger.kernel.org" , "alsa-devel@vger.kernel.org" , "Nurkkala Eero.An (EXT-Offcode/Oulu)" List-Id: alsa-devel@alsa-project.org On Wednesday 05 August 2009 10:39:00 ext Jarkko Nikula wrote: > On Thu, 30 Jul 2009 15:49:34 +0300 > > Eduardo Valentin wrote: > > From: Peter Ujfalusi > > > > + > > + return sprintf(buf, "%d\n", dma_op_mode); > > It would be good to handle this as an ascii like e.g /sys/power/state > does. "element", "threshold" or "frame". A number value doesn't tell > much (for me when testing). At least when reading it it would be nice to have asci, like "element (0)", = "threshold (1)"... > > I would say the default mode for the omap34xx should be also element as > it keeps the omap_pcm_pointer behavior the same than currently and > avoids possible regression. Yes, the default mode should be the element mode in my opinion as well. -- = P=E9ter