Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3884919imj; Tue, 12 Feb 2019 06:22:50 -0800 (PST) X-Google-Smtp-Source: AHgI3IayoCwZZmQ6avAnSXtO+va10b+0mpQWb+PASL++3WJ43o5mlnw2deb+a6mJKL01d5BBIY11 X-Received: by 2002:a63:2c8c:: with SMTP id s134mr3903469pgs.269.1549981370640; Tue, 12 Feb 2019 06:22:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549981370; cv=none; d=google.com; s=arc-20160816; b=igBPZhuaX5OyOYrj/MCPpMjVY4Udcn2zeeHm23Vkv27TZ+DhSg8+uV4Y8n9QsSUER7 1Xkzi3PMIgQQu2YuRwNZ6MnkYYciTKJVBJYDfvakEGxT3jsO1XTxw3G+61NNXj6CfN7u ANZHX5NOiQ5WDlHph0Ku3RW7+ZrwsfG1HdLL3sU1I2fZJmUtnyhA4j8CvTTOxw8myo2V E4TM85aMNIxi1Fxij3bheqwRaZvv1pjvW6uRJqaS9D5VN+gsMNlK9x7AzYF2fwExYO8Q CrCSwac8UhAOirYeGx7lod85egOzLPcz1XwETirmuS4VG8MosHBTXm4V3XVJ0thBDZiA QmcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=SxCd3p/Pc1rwfRIov/t0Yxm6i5Ew1g4pJvVemML/+GM=; b=Zm2Z7nV27Cxf5QrTdj/Ag+V4TFI2FC/ygyx4xjLVaaNZgiHHUKu98lVjHlX09DED7S DZ4uIx1g0qxlu0uzByFgbsMYZZo94Zr5gHfFlirYUOYjfuA+vXHsa/tYz4tJqd4njjtv FLPLcfpHaA9PTIXeq/idYf+auzYiWwwWaKuPqD8claLVCTHuEr831sCm4oiTQiQjzAzT OpdqLwYnoFPwFj9sJaCq1he6IRm47+E+fgNDhf7vLdaywv/iDd5DtCsQRyuevYqnIID2 cY1RUxJIVVyZlKDit4P3O1LjlcxNVebfWF9+X5N/EqmCcauGItlZduZVAySZg0I7Uou7 AF/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=F7Eki03i; 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 r5si7423258pgr.482.2019.02.12.06.22.28; Tue, 12 Feb 2019 06:22:50 -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=F7Eki03i; 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 S1730265AbfBLOWK (ORCPT + 99 others); Tue, 12 Feb 2019 09:22:10 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:55330 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729989AbfBLOWK (ORCPT ); Tue, 12 Feb 2019 09:22:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=SxCd3p/Pc1rwfRIov/t0Yxm6i5Ew1g4pJvVemML/+GM=; b=F7Eki03i7zXA aSG4O3WP8yYVr0pPzZp+haCnrd3TiW1bSUe3r22KBku+/MHQozx9wEKvUrIZmG1y3QHtIaoA1I1n1 fsSoXulxTwOPxJ4oQ81ieL8Ucuc06s1SbDRbGSRlEbMXZlZ4Eygk6Ol7ZB0qhnFE8yThQIkfFk5o1 JNGE0=; 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 1gtYwm-0004bW-ST; Tue, 12 Feb 2019 14:22:04 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 7A93A1128113; Tue, 12 Feb 2019 14:22:04 +0000 (GMT) From: Mark Brown To: Kirill Marinushkin Cc: Mark Brown , Mark Brown , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Applied "ASoC: pcm3060: Add soft reset on probe" to the asoc tree In-Reply-To: <20190211060839.21417-1-kmarinushkin@birdec.tech> X-Patchwork-Hint: ignore Message-Id: <20190212142204.7A93A1128113@debutante.sirena.org.uk> Date: Tue, 12 Feb 2019 14:22:04 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: pcm3060: Add soft reset on probe has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From a3daee085905e97ba20e6b9e72e6639fa518209c Mon Sep 17 00:00:00 2001 From: Kirill Marinushkin Date: Mon, 11 Feb 2019 07:08:38 +0100 Subject: [PATCH] ASoC: pcm3060: Add soft reset on probe Softly reset registers values on module probe Signed-off-by: Kirill Marinushkin Signed-off-by: Mark Brown --- sound/soc/codecs/pcm3060.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sound/soc/codecs/pcm3060.c b/sound/soc/codecs/pcm3060.c index 6714aa8d9026..543cb86fd764 100644 --- a/sound/soc/codecs/pcm3060.c +++ b/sound/soc/codecs/pcm3060.c @@ -287,6 +287,14 @@ int pcm3060_probe(struct device *dev) int rc; struct pcm3060_priv *priv = dev_get_drvdata(dev); + /* soft reset */ + rc = regmap_update_bits(priv->regmap, PCM3060_REG64, + PCM3060_REG_MRST, 0); + if (rc) { + dev_err(dev, "failed to reset component, rc=%d\n", rc); + return rc; + } + if (dev->of_node) pcm3060_parse_dt(dev->of_node, priv); -- 2.20.1