From: Peter Ujfalusi Subject: [PATCH v2 0/7] ASoC: Add support in core to set msbits constraint Date: Wed, 18 Jan 2012 10:44:48 +0100 Message-ID: <1326879895-2973-1-git-send-email-peter.ujfalusi@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from na3sys009aog112.obsmtp.com (na3sys009aog112.obsmtp.com [74.125.149.207]) by alsa0.perex.cz (Postfix) with ESMTP id 93D0524571 for ; Wed, 18 Jan 2012 10:45:35 +0100 (CET) Received: by mail-gx0-f177.google.com with SMTP id l1so4692712ggn.8 for ; Wed, 18 Jan 2012 01:45:33 -0800 (PST) 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: Mark Brown , Liam Girdwood Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Hi Mark, I would prefer to have the msbits constraints to be applied to only sample sizes bigger than the requested msbits from dais. I'm resending your patch plus the modification which will make the possible. I have also converted the drivers I know have this constraint. If you prefer, you can squash the first two patch. Regards, Peter --- Mark Brown (2): ASoC: Allow drivers to specify how many bits are significant on a DAI ASoC: 24 bits are significant on the WM8996 audio interfaces Peter Ujfalusi (5): ASoC: Apply msbits constraint for sample size bigger than the msbits ASoC: omap-dmic: Use core to set the msbits constraint ASoC: omap-mcpdm: Set 24msbits constraint ASoC: tlv320dac33: Use core to set the msbits constraint ASoC: twl4030: Use core to set the msbits constraint include/sound/soc.h | 1 + sound/soc/codecs/tlv320dac33.c | 3 +-- sound/soc/codecs/twl4030.c | 7 ++++--- sound/soc/codecs/wm8996.c | 4 ++++ sound/soc/omap/omap-dmic.c | 7 +++---- sound/soc/omap/omap-mcpdm.c | 2 ++ sound/soc/soc-pcm.c | 38 ++++++++++++++++++++++++++++++++++++++ 7 files changed, 53 insertions(+), 9 deletions(-) -- 1.7.8.3