From patchwork Mon Aug 24 08:29:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 248196 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:522:0:0:0:0 with SMTP id h2csp2402397ils; Mon, 24 Aug 2020 02:56:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxldZ+ouYzP+NyouJaOCKMm+71fAIoUHhphzz8Nh274qZuoM7ZyLZlHrOVD9vDY+u7RTN9X X-Received: by 2002:a17:907:119c:: with SMTP id uz28mr4534063ejb.361.1598262969409; Mon, 24 Aug 2020 02:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598262969; cv=none; d=google.com; s=arc-20160816; b=EgjZvc9jJgVTk+GeRI/l/R4ps1NqbFc/3FX8sRlP0yZi/x8o1cC41gZf3wTWtGjsOo otltyZryo3KXRZCugMwmVAZkd/f49KW1KR0r7FhalljcYooYc+4iE5Of9AO3yJZmK+xr DfO8edacnDmKdPbLHDgCivnBP4HDCJ01HN4rE0U4txgF+kOGZipGo+k9GxsBUsYQ649b spcAizpAevcAthxM+1hQN1/r1JMyANgIT5B/lz3ybThflQNIs7lHto48MOadllNKbyHw GhkHWzNbqp1fUAyp9OWFQ2awQU/ylScnTVdmix5qZb8fH5JeM3NSa29wIfxjf1JM8X9y GMsw== 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=co76ALrSspGIQU7i9Aqw8K/Vq/OZMETBVGrAXptQNRg=; b=qnrLru/GFEWvPv3KdNq4u4goUv/01gsDGXNweauWgXy/let9UEaqUI+qpMqpUYtJwf Rf4OVu8W/0qN4DrAq0gCMZFKU3RUiisiYspCr3N1wNcG/EiwuZY9ANIoj23wJrBGAV7B tWo/TgpRFYNPo648IxqqdMqOAUUFC1tjD9CBv7RiGHXADCg0TYmSlO0dQVAFcXjAqmFP 0d31p4Z/nWPX5CHQ9lxryUNGjQ+RWt3at2FtRt0qZvlopolGmD5KsDR0zdAP1JG1QZdS IC9LUUJWQsE2GOs0o8ueqv13N3aoqdo7669KCRTZOBxBr/NF1zFg7r1v1oBhbSkMVpxI Aeng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GLXnjPZY; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t14si2471474ejf.570.2020.08.24.02.56.09; Mon, 24 Aug 2020 02:56:09 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GLXnjPZY; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726995AbgHXIgL (ORCPT + 15 others); Mon, 24 Aug 2020 04:36:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:48306 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728234AbgHXIgJ (ORCPT ); Mon, 24 Aug 2020 04:36:09 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.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 34F89204FD; Mon, 24 Aug 2020 08:36:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598258168; bh=CiB2JlYzRRv4NoLy9qj+dbZcYvJL+2KWQ7TFKK68R+k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GLXnjPZYlvDSqKrptPma0uA+3n7k7TVdtNw8uRZy4dWe0oOHckS7zG+xtPfR+6HAy MIbpIQpfoBhgwBvLKBrhtLjj7EXu+7xNuymiol4XnAM8gJ5trlKnc2R6xiTgIGMfkd r35Gil7M3PyWKxrtRVCh/n5/Qjm52NgCwvyqCsJs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Srinivas Kandagatla , Stephan Gerhold , Mark Brown , Sasha Levin Subject: [PATCH 5.8 100/148] ASoC: msm8916-wcd-analog: fix register Interrupt offset Date: Mon, 24 Aug 2020 10:29:58 +0200 Message-Id: <20200824082418.829268163@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200824082413.900489417@linuxfoundation.org> References: <20200824082413.900489417@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Srinivas Kandagatla [ Upstream commit ff69c97ef84c9f7795adb49e9f07c9adcdd0c288 ] For some reason interrupt set and clear register offsets are not set correctly. This patch corrects them! Fixes: 585e881e5b9e ("ASoC: codecs: Add msm8916-wcd analog codec") Signed-off-by: Srinivas Kandagatla Tested-by: Stephan Gerhold Reviewed-by: Stephan Gerhold Link: https://lore.kernel.org/r/20200811103452.20448-1-srinivas.kandagatla@linaro.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/msm8916-wcd-analog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/sound/soc/codecs/msm8916-wcd-analog.c b/sound/soc/codecs/msm8916-wcd-analog.c index 85bc7ae4d2671..26cf372ccda6f 100644 --- a/sound/soc/codecs/msm8916-wcd-analog.c +++ b/sound/soc/codecs/msm8916-wcd-analog.c @@ -19,8 +19,8 @@ #define CDC_D_REVISION1 (0xf000) #define CDC_D_PERPH_SUBTYPE (0xf005) -#define CDC_D_INT_EN_SET (0x015) -#define CDC_D_INT_EN_CLR (0x016) +#define CDC_D_INT_EN_SET (0xf015) +#define CDC_D_INT_EN_CLR (0xf016) #define MBHC_SWITCH_INT BIT(7) #define MBHC_MIC_ELECTRICAL_INS_REM_DET BIT(6) #define MBHC_BUTTON_PRESS_DET BIT(5)