From: Eduardo Valentin Subject: Re: [PATCH 11/20] OMAP: McBSP: Add link DMA mode selection Date: Thu, 30 Jul 2009 16:28:08 +0300 Message-ID: <20090730132808.GA22978@esdhcp037198.research.nokia.com> References: <1248958183-15015-4-git-send-email-eduardo.valentin@nokia.com> <1248958183-15015-5-git-send-email-eduardo.valentin@nokia.com> <1248958183-15015-6-git-send-email-eduardo.valentin@nokia.com> <1248958183-15015-7-git-send-email-eduardo.valentin@nokia.com> <1248958183-15015-8-git-send-email-eduardo.valentin@nokia.com> <1248958183-15015-9-git-send-email-eduardo.valentin@nokia.com> <1248958183-15015-10-git-send-email-eduardo.valentin@nokia.com> <1248958183-15015-11-git-send-email-eduardo.valentin@nokia.com> <1248958183-15015-12-git-send-email-eduardo.valentin@nokia.com> <20090730130442.GD9975@sirena.org.uk> Reply-To: eduardo.valentin@nokia.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from smtp.nokia.com ([192.100.122.230]:45683 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750928AbZG3NjY (ORCPT ); Thu, 30 Jul 2009 09:39:24 -0400 Content-Disposition: inline In-Reply-To: <20090730130442.GD9975@sirena.org.uk> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: ext Mark Brown Cc: "Valentin Eduardo (Nokia-D/Helsinki)" , "linux-omap@vger.kernel.org" , "alsa-devel@vger.kernel.org" , Jarkko Nikula , "Nurkkala Eero.An (EXT-Offcode/Oulu)" , "Ujfalusi Peter (Nokia-D/Tampere)" On Thu, Jul 30, 2009 at 03:04:42PM +0200, ext Mark Brown wrote: > On Thu, Jul 30, 2009 at 03:49:34PM +0300, Eduardo Valentin wrote: > > > It adds a new sysfs file, where the user can configure the mcbsp mode to use. > > If the mcbsp channel is in use, it does not allow the change. > > Than in omap_pcm_open we can call the omap_mcbsp_get_opmode to get the mode, > > store it, than use it to implement the different modes. > > Is this really something that people would want to tweak at runtime > (except for test purposes)? Yes, test purposes, bug also, the same link could be sometime used for low-power playback while sometime for low-latency processing where as accurate as possible DMA pointer position info is needed. -- Eduardo Valentin