Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1019779ybe; Wed, 4 Sep 2019 11:14:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3SB3qHCTpODfaBe+NtGfJ3dCZ1OFUKamOQaVdQ4sk1P7D2nPPwmiyXBMns+IkakGU8TJ3 X-Received: by 2002:a17:90a:30e8:: with SMTP id h95mr6486734pjb.44.1567620864404; Wed, 04 Sep 2019 11:14:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567620864; cv=none; d=google.com; s=arc-20160816; b=G3Gs9E0KIJQD9mebsy78NiwJ/mbpvwvyvxXFSQfilW0nq6otxUHwhl+Ow5OtPGL0Kp 1ARLELCPzWrcIoEcKD6pX0DJ4G9H5SCTuCZ4hmuqqJCT8QDF0o70yqp8uU54MESfLQ7y atPjH8khxWP144K7TI5GMBFUUJXUtgFx9UqfTldccABY1hiKTeAOqN2HfuiWoyfqFu+I g3OAMs1qGg7yhZiMAytSdYmoVvlcK70SZqw4IGqdPo10LKd1MK4vSUy0qwa56uGXHxlV xYBmUTk2TIOy4ER12iEminTDOmEH218SdljwP1N/14XtS5vhBdGRAAQOEb55NIk9VYJV qDHw== 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=Gv7cNNk7L/UkA0ZPzA2hN5w5H0FU5U/9ly/on4w7dfA=; b=kHAWYtZxqti0W6+Wg0bl6TWk7372IBnjHnLUAWicjHAl4s+dMqaXDtulpjBt1lUrhk njZOpxqr1cV+6r2PIVJvaHRnFzw+0dkjn+tmMR4bDLuS+5Eb50e07qjSjiimS3cqeTl1 WRhWm/JBElLkvBu8B3Jxyj7fKRsM6YVsYAJJU+zPeN/7Be+pOGq3aKxOI/qLDg73k8XS cVK6E7DFgRzMIkGRP6Aks9xv5R5f7W+Z4h5SZBdcaZNEmsVMtJnlgX1mx3/Ig8mjmiIl uOvlFL6pF4O8T5zjUtiGdVKr3jVy9lrJMZdU3cI8aoQByWdLzY7EbKkAP2K2U/ATqGDg BYDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ASjJm4bU; 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 y12si22294835pfo.30.2019.09.04.11.14.08; Wed, 04 Sep 2019 11:14:24 -0700 (PDT) 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=ASjJm4bU; 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 S2390400AbfIDSLe (ORCPT + 99 others); Wed, 4 Sep 2019 14:11:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:55588 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389938AbfIDSLc (ORCPT ); Wed, 4 Sep 2019 14:11:32 -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 38E0A208E4; Wed, 4 Sep 2019 18:11:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567620691; bh=s/T9woN4W5K8CZKksRSCwbaqs+VAkycK5ri87hzP37U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ASjJm4bUb+SNKAKvAXqyISZbY+I6UKeGJiNpGYtEXozOxJ3csOUf2fvX7gX6IL6U0 nmOvhQbV/XHd7gqbePWMIfX93w5CBU5oQzuJV5Kt3juHBqU52DkdtrZkyURuWsAJsB 2OPZiHBvQ7+EWe8irBvNDbzPVML5fQCcyGnd2d1M= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Pierre-Louis Bossart , Vinod Koul , Sasha Levin Subject: [PATCH 5.2 018/143] soundwire: cadence_master: fix definitions for INTSTAT0/1 Date: Wed, 4 Sep 2019 19:52:41 +0200 Message-Id: <20190904175314.791536318@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190904175314.206239922@linuxfoundation.org> References: <20190904175314.206239922@linuxfoundation.org> User-Agent: quilt/0.66 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 [ Upstream commit 664b16589f882202b8fa8149d0074f3159bade76 ] Two off-by-one errors: INTSTAT0 missed BIT(31) and INTSTAT1 is only defined on first 16 bits. Signed-off-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20190725234032.21152-15-pierre-louis.bossart@linux.intel.com Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/soundwire/cadence_master.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soundwire/cadence_master.c b/drivers/soundwire/cadence_master.c index 18afb2e21dc9a..57ed2e2024bf4 100644 --- a/drivers/soundwire/cadence_master.c +++ b/drivers/soundwire/cadence_master.c @@ -95,8 +95,8 @@ #define CDNS_MCP_SLAVE_INTMASK0 0x5C #define CDNS_MCP_SLAVE_INTMASK1 0x60 -#define CDNS_MCP_SLAVE_INTMASK0_MASK GENMASK(30, 0) -#define CDNS_MCP_SLAVE_INTMASK1_MASK GENMASK(16, 0) +#define CDNS_MCP_SLAVE_INTMASK0_MASK GENMASK(31, 0) +#define CDNS_MCP_SLAVE_INTMASK1_MASK GENMASK(15, 0) #define CDNS_MCP_PORT_INTSTAT 0x64 #define CDNS_MCP_PDI_STAT 0x6C -- 2.20.1