From patchwork Mon Jun 13 16:37:48 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 875452 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5DGeR5H031651 for ; Mon, 13 Jun 2011 16:40:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754427Ab1FMQjo (ORCPT ); Mon, 13 Jun 2011 12:39:44 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:35453 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754409Ab1FMQi5 (ORCPT ); Mon, 13 Jun 2011 12:38:57 -0400 Received: from dlep33.itg.ti.com ([157.170.170.112]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id p5DGcqJ4006937 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Jun 2011 11:38:52 -0500 Received: from dlep26.itg.ti.com (smtp-le.itg.ti.com [157.170.170.27]) by dlep33.itg.ti.com (8.13.7/8.13.8) with ESMTP id p5DGcqZA000227; Mon, 13 Jun 2011 11:38:52 -0500 (CDT) Received: from dlee73.ent.ti.com (localhost [127.0.0.1]) by dlep26.itg.ti.com (8.13.8/8.13.8) with ESMTP id p5DGcqf8026709; Mon, 13 Jun 2011 11:38:52 -0500 (CDT) Received: from dlelxv22.itg.ti.com (172.17.1.197) by DLEE73.ent.ti.com (157.170.170.88) with Microsoft SMTP Server id 8.3.106.1; Mon, 13 Jun 2011 11:38:52 -0500 Received: from barack.norway.design.ti.com (h88-9.vpn.ti.com [172.24.88.9]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id p5DGbmIX027963; Mon, 13 Jun 2011 11:38:49 -0500 From: Peter Ujfalusi To: Liam Girdwood , Tony Lindgren , Mark Brown , Samuel Ortiz , Dmitry Torokhov CC: linux-input@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Peter Ujfalusi Subject: [PATCH v5 16/18] ASoC: twl6040: set default constraints. Date: Mon, 13 Jun 2011 19:37:48 +0300 Message-ID: <1307983070-2257-17-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.5.3 In-Reply-To: <1307983070-2257-1-git-send-email-peter.ujfalusi@ti.com> References: <1307983070-2257-1-git-send-email-peter.ujfalusi@ti.com> MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 13 Jun 2011 16:40:39 +0000 (UTC) From: Liam Girdwood Set default sysclk constraints to high performance mode. Signed-off-by: Liam Girdwood Signed-off-by: Peter Ujfalusi Acked-by: Mark Brown --- sound/soc/codecs/twl6040.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index d334d86..3c0d8da 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c @@ -1507,6 +1507,7 @@ static int twl6040_probe(struct snd_soc_codec *codec) /* default is high-performance mode */ priv->headset_mode = 1; + priv->sysclk_constraints = &hp_constraints; priv->workqueue = create_singlethread_workqueue("twl6040-codec"); if (!priv->workqueue) {