Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2712472imj; Mon, 11 Feb 2019 07:22:12 -0800 (PST) X-Google-Smtp-Source: AHgI3IYcZovHnztpl1YM4KeHwMDPi2p/ErN2NH5jzxD/vIgc4X5kwOvc4agujcx02+Ugs+vcvh/l X-Received: by 2002:a62:e086:: with SMTP id d6mr8930407pfm.247.1549898532184; Mon, 11 Feb 2019 07:22:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549898532; cv=none; d=google.com; s=arc-20160816; b=pTMw2N0l+bNxuBku7v5cttZ5Jt5clux3cItI/VGVgupB1XPP5815uPxN84BQvtdcDj a4KIY26sYo3/zL9qBP+kUYM3DD1WGNoV9KVcnvOpHP9F6iWHd3GEB9wFnpJL6iaQKOFx GbhDTnl7ryP4WY56Ndj/2SzJ1qfuLQE6oIpf+ZOjXnzNvg+/mPM2/E4I7wXvVlrSi6n2 OVAOOUpqzdTWdxKnXL2nREkt9OwgfyLJCP+j2cgQXkxpL33fcs2nnzRy7bX1AWanBEb6 T7Te3u/c2+dlet4Bf9f5Kzrouk8RkwAACirze9yUwfVl4eNm37G4JJHC2xLBgnQhiUgm FDDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=hJnXkk1dyaeerODSzrQpR2HhMUEBUJ1FrYn4kp9Gg88=; b=jJ8RNSRTKHNgxQkARO+oDjbDq69fnqdVwWLNBsV7B9e1Md+CY5xaYeedivnPkVrVI0 G2Nt+YqWdOnxi5nawXwcxOfQ8cQsvUNlEv80gKAhZAijpwZquTkea8R+t1kSj45n85IX izma5DlDMyW8hY4Cgq0B/13zRnUFPlJ6mF2drNvQ74760cIGEpuydLegOGgR3nRAJTmc MEnnVuF2Xej0Vhym07co/XEiZ6BE+IR0L/l5Gtt4YZ/+QCEnl0NcW6Xw3HnDUBrgkIWu 6QvMe7NHbLWrnJ80+uad4xXr1wkxkUpAvjyOHqIsqj4qHIGrXN1I3DSU9MZBCmsPulFq NuJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=iv1Gy5ED; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 92si5518530pli.220.2019.02.11.07.21.53; Mon, 11 Feb 2019 07:22:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=iv1Gy5ED; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390862AbfBKPEq (ORCPT + 99 others); Mon, 11 Feb 2019 10:04:46 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:53470 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390835AbfBKPEl (ORCPT ); Mon, 11 Feb 2019 10:04:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hJnXkk1dyaeerODSzrQpR2HhMUEBUJ1FrYn4kp9Gg88=; b=iv1Gy5EDG+JUTMA9YUg56thEm S8DS0+YFL4KR36iUnSJiJkgsy8Q4rE09d0ebFaLGcAfDE4qgxp2YZ4CRbTROFUMghRaOth6P0cNHB VlLR5AmIA7BoXrLZfeXm+ZlfEiNczvZ6VzSsHdCO9K9wGgxpecH/bgdFs2iBdHa6tx4sk=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gtD8E-0003oY-BH; Mon, 11 Feb 2019 15:04:26 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id B82CF11280BD; Mon, 11 Feb 2019 15:04:25 +0000 (GMT) Date: Mon, 11 Feb 2019 15:04:25 +0000 From: Mark Brown To: Peter Seiderer Cc: linux-kernel@vger.kernel.org, Liam Girdwood , Jaroslav Kysela , Takashi Iwai , b-ak , Kuninori Morimoto , alsa-devel@alsa-project.org Subject: Re: [RFC v1] tlv320aic32x4: delay i2c access by 1 ms after hardware reset Message-ID: <20190211150425.GE22391@sirena.org.uk> References: <20190210154519.2506-1-ps.report@gmx.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+JUInw4efm7IfTNU" Content-Disposition: inline In-Reply-To: <20190210154519.2506-1-ps.report@gmx.net> X-Cookie: Tell me what to think!!! User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --+JUInw4efm7IfTNU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 10, 2019 at 04:45:19PM +0100, Peter Seiderer wrote: > @@ -972,6 +972,8 @@ static int aic32x4_component_probe(struct snd_soc_com= ponent *component) > gpio_set_value(aic32x4->rstn_gpio, 1); > } > =20 > + mdelay(1); > + Perhaps only do this if we toggled the GPIO? If the device wasn't in reset then there's no need to wait. --+JUInw4efm7IfTNU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlxhjvgACgkQJNaLcl1U h9BpKAf9G+y8nQsDTzqkvK6vjYpwPnr3Staxy0uTlswZLshRAlNWzqorA+k9ySK0 9rnjMVjD0bG+qQcUUWXKIciQVdx2yaqHYCNROB+EloqA/8ADyivO3DuaTh3OPI8S 95q5gnMJyKnWiJq9kxSqhAtfbDt6/F3ITZYy2XD7N4IXKktVbrPtKU3NZhentogy w2NS5PwuVERZ2NvvmVZY5gZNShpvfFmX/U1BY8/RCGxscmsK6jYRzlKnkQBUymQr vbs+MuYM0xnu++cz1mEqXhLLbW4wdTujq93BhQm6/zSgndiJySIyKaWBw1KmF1U0 ICvazgSYUkopGbQVe9Dbwkp9j+g/Zw== =fgqh -----END PGP SIGNATURE----- --+JUInw4efm7IfTNU--