From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarkko Nikula Subject: Re: [RFC PATCH 5/5] ASoC: omap-mcbsp: Place correct constraints for streams Date: Tue, 1 Jun 2010 10:38:28 +0300 Message-ID: <20100601103828.55e7b394.jhnikula@gmail.com> References: <1275293810-31984-1-git-send-email-peter.ujfalusi@nokia.com> <201005311457.22699.peter.ujfalusi@nokia.com> <20100601093807.f4a9ec27.jhnikula@gmail.com> <201006010947.09640.peter.ujfalusi@nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ew0-f217.google.com (mail-ew0-f217.google.com [209.85.219.217]) by alsa0.perex.cz (Postfix) with ESMTP id 07C85103981 for ; Tue, 1 Jun 2010 09:36:04 +0200 (CEST) Received: by ewy9 with SMTP id 9so1213081ewy.4 for ; Tue, 01 Jun 2010 00:36:03 -0700 (PDT) In-Reply-To: <201006010947.09640.peter.ujfalusi@nokia.com> 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: Peter Ujfalusi Cc: "alsa-devel@alsa-project.org" , "tony@atomide.com" , "broonie@opensource.wolfsonmicro.com" , "Valentin Eduardo (Nokia-D/Helsinki)" , "Nurkkala Eero.An (EXT-Offcode/Oulu)" , ext@alsa-project.org, "linux-omap@vger.kernel.org" , Girdwood List-Id: alsa-devel@alsa-project.org On Tue, 1 Jun 2010 09:47:09 +0300 Peter Ujfalusi wrote: > I like the following naming: > omap_mcbsp_hwrule_min_buffersize() > omap_mcbsp_hwrule_max_periodsize() > Looks clear to me. > Also, I think there is no point to limit the lower period size in threshold mode > to 32, so I will remove that as well I think. > What was the reason why period size cannot be bigger than threshold? This constraint was there before your patch but I don't remember reason for it. Should it be opposite that period size cannot be smaller than threshold? -- Jarkko