Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8103524imu; Tue, 4 Dec 2018 03:04:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/VF2uKCoXT8vl5KPXmyC6xdPREsACBCyHektFVTOFW6cnEEHSTq7fCf7tvzUCNfQvS/OnL+ X-Received: by 2002:a63:1766:: with SMTP id 38mr15907958pgx.299.1543921453546; Tue, 04 Dec 2018 03:04:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543921453; cv=none; d=google.com; s=arc-20160816; b=SJ6ers30VnSA8cK0uCbY/1Z/bYNwk7YKTPzLDlF0RepExHyKAzLe+w1UR4WT8Kay9a eOjFjCr69if6juItN9xhonUhqYcDPy5rfG7RIZhoczKW8MjplyjEIrRYlriI0WJYZTjz P6O2CDBAWRXQAci8tYBL/N4HnwIKr4cZOZI8j64IuOBNtecEVYxZdT6aPvDHvv5+ZN6p EAEG1xwk/2DdoNHaZFKCIml3Odb1fIii+AIatutu9TqMFJ77iIqn0fppy3CCXuBHLDA1 aV5FmEllqMGITP3roJBtESO+P9cii8MCUF8S0wRRoPInIvD37CvTOXaict5Dv1L4Pf05 zA7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=wuZtNOzUyC2NbVCe3SYbHI8Rxxfgt78fmOPi/d57BCU=; b=aGGzqXPJZv1Co6nDABOeGePzOhIhk8HjW6c7cW+MjsmSbmrtg8+wsoSCaIqFpDL5Ha N6GCwsKT9HT2L6YUEErECy7BcwP4vSYO3pdyEES00QfcRp9FKvalKLAT/qnlNjWUrjon ltHcTJe/imIDdNMRHgBxuvZ29dpCO5e0kGscnSPDDfGvnXfroS09aqpP/pm2X1l3p6vX GoQJAfwnyWwbBN2O0SfOonMY/o+5pxplKvrZlA58EnpKkNez7eYXGherGLuTwKK3i9HB XLdIkt6lvCASfbRzTGmQHYvLi8LTM8NujZqJWrdFgsIqyWuiKpSUkzUphJom31+1aRHZ xwAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nrs7i8rf; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64si16318678pfe.74.2018.12.04.03.03.57; Tue, 04 Dec 2018 03:04:13 -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=pass header.i=@kernel.org header.s=default header.b=nrs7i8rf; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726687AbeLDLBO (ORCPT + 99 others); Tue, 4 Dec 2018 06:01:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:46590 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726650AbeLDLBK (ORCPT ); Tue, 4 Dec 2018 06:01:10 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 89D04214D9; Tue, 4 Dec 2018 11:01:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543921270; bh=isGmbfiBcZVxb35/TUu9J4tfEPq3ZlpdjMo1fF4fX9E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nrs7i8rfzZm6+KEY/LMAxy9IBvoc4oL/zucP5uXrkNHxmWA7Esaz6um6QeoelbAvk J0AoigsqroIt8QyJRbQBk3KQZdaMi6Tudr6/fOe0G0KQHoeuOJ/DmRxVh4P+dKp6yU FYcOUuHClTmRO32o3AB7oraVV+tqCZhG3hnw/KTU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stephane Le Provost , Andreas Dannenberg , "Andrew F. Davis" , Mark Brown Subject: [PATCH 4.19 120/139] ASoC: pcm186x: Fix device reset-registers trigger value Date: Tue, 4 Dec 2018 11:50:01 +0100 Message-Id: <20181204103655.603936088@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181204103649.950154335@linuxfoundation.org> References: <20181204103649.950154335@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Andreas Dannenberg commit 5277715639ff6f75c729e657690751a831112c4b upstream. According to the current device datasheet (TI Lit # SLAS831D, revised March 2018) the value written to the device's PAGE register to trigger a complete register reset should be 0xfe, not 0xff. So go ahead and update to the correct value. Reported-by: Stephane Le Provost Tested-by: Stephane Le Provost Signed-off-by: Andreas Dannenberg Acked-by: Andrew F. Davis Signed-off-by: Mark Brown Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- sound/soc/codecs/pcm186x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/soc/codecs/pcm186x.h +++ b/sound/soc/codecs/pcm186x.h @@ -139,7 +139,7 @@ enum pcm186x_type { #define PCM186X_MAX_REGISTER PCM186X_CURR_TRIM_CTRL /* PCM186X_PAGE */ -#define PCM186X_RESET 0xff +#define PCM186X_RESET 0xfe /* PCM186X_ADCX_INPUT_SEL_X */ #define PCM186X_ADC_INPUT_SEL_POL BIT(7)