From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752517AbcD1L0w (ORCPT ); Thu, 28 Apr 2016 07:26:52 -0400 Received: from mx2.suse.de ([195.135.220.15]:38601 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752322AbcD1L0v (ORCPT ); Thu, 28 Apr 2016 07:26:51 -0400 Date: Thu, 28 Apr 2016 13:26:49 +0200 Message-ID: From: Takashi Iwai To: Mark Brown Cc: Peter Rosin , alsa-devel@alsa-project.org, Liam Girdwood , Jaroslav Kysela , linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: pcm: allow changing the playback/capture rates for symmetric links In-Reply-To: <20160428111001.GK3217@sirena.org.uk> References: <1461746959-11443-1-git-send-email-peda@axentia.se> <20160427161504.GZ3217@sirena.org.uk> <122ca84a-230e-654e-425f-3adb0ca00ec7@axentia.se> <20160428103822.GJ3217@sirena.org.uk> <20160428111001.GK3217@sirena.org.uk> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.5 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 28 Apr 2016 13:10:01 +0200, Mark Brown wrote: > > On Thu, Apr 28, 2016 at 01:03:22PM +0200, Takashi Iwai wrote: > > Mark Brown wrote: > > > > Lots of things just don't work with OSS, we stopped caring about it > > > years ago. The configuration mechanism just doesn't play nicely with > > > dynamic constraints at all. > > > True, but looking at the code there, I wonder how only OSS hits. > > Does ALSA-native API really work as is...? > > We've had the code for years without anyone reporting issues so... the > idiomatic ALSA thing is to set everything in one call which helps a lot. Yes, most of such problems come from the inconsistent hw constraints, and one-shot configuration helps indeed. But, in this case, it appears more like an overlooked case to me. BTW, this reminds me of another question: don't we have a dummy ASoC driver like snd-dummy? It would be convenient for a casual API testing. thanks, Takashi