From patchwork Thu Mar 28 11:22:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 2356071 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id DA8604020C for ; Thu, 28 Mar 2013 11:22:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752588Ab3C1LWd (ORCPT ); Thu, 28 Mar 2013 07:22:33 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:50317 "EHLO opensource.wolfsonmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752711Ab3C1LWc (ORCPT ); Thu, 28 Mar 2013 07:22:32 -0400 Received: from finisterre.wolfsonmicro.main (cpc2-sgyl4-0-0-cust177.18-2.cable.virginmedia.com [82.42.102.178]) by opensource.wolfsonmicro.com (Postfix) with ESMTPSA id 093E011061C; Thu, 28 Mar 2013 11:22:29 +0000 (GMT) Received: from broonie by finisterre.wolfsonmicro.main with local (Exim 4.80) (envelope-from ) id 1ULAua-0001Jg-Um; Thu, 28 Mar 2013 11:22:29 +0000 From: Mark Brown To: Kukjin Kim Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Charles Keepax , Mark Brown Subject: [PATCH 2/2] ARM: S3C64XX: Slow down mic detection rate for wm5102 Date: Thu, 28 Mar 2013 11:22:26 +0000 Message-Id: <1364469746-5026-2-git-send-email-broonie@opensource.wolfsonmicro.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1364469746-5026-1-git-send-email-broonie@opensource.wolfsonmicro.com> References: <1364469746-5026-1-git-send-email-broonie@opensource.wolfsonmicro.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org From: Charles Keepax A slightly slower rate provides more reliable jack detection during slower insertions. Signed-off-by: Charles Keepax Signed-off-by: Mark Brown --- arch/arm/mach-s3c64xx/mach-crag6410-module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-s3c64xx/mach-crag6410-module.c b/arch/arm/mach-s3c64xx/mach-crag6410-module.c index bf3d1c0..a946b75 100644 --- a/arch/arm/mach-s3c64xx/mach-crag6410-module.c +++ b/arch/arm/mach-s3c64xx/mach-crag6410-module.c @@ -210,6 +210,7 @@ static struct arizona_pdata wm5102_reva_pdata = { .gpio_base = CODEC_GPIO_BASE, .irq_active_high = true, .micd_pol_gpio = CODEC_GPIO_BASE + 4, + .micd_rate = 6, .gpio_defaults = { [2] = 0x10000, /* AIF3TXLRCLK */ [3] = 0x4, /* OPCLK */