From patchwork Tue Aug 23 05:38:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bard Liao X-Patchwork-Id: 12951714 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EF582C32774 for ; Tue, 23 Aug 2022 05:37:17 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id EC8DE168B; Tue, 23 Aug 2022 07:36:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz EC8DE168B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1661233036; bh=zUZCrvll5EIj8yMSFdHa9CHP1hiI8H8cuO2HX4044Po=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=KsMX+npXY43zKAZ7P8nS8KC2uNUA+uFMF0/FVyx2KDKC6Y524Ry32QaHw+ByAIgOG 7JSne/Gd8lX9Hg5bRLbeYHp4CEeVEqDXa3rkIdBX8WbtdevfE3ZqnGrVniOajetXZ/ Ta9me/lNL8XKSP0bHJBmkOoCZyn8aB2GfFr8PHYo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 155E6F8054A; Tue, 23 Aug 2022 07:35:39 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id F0E68F80552; Tue, 23 Aug 2022 07:35:36 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 1C033F8030F for ; Tue, 23 Aug 2022 07:35:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1C033F8030F Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="RCFQx8k+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661232928; x=1692768928; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=zUZCrvll5EIj8yMSFdHa9CHP1hiI8H8cuO2HX4044Po=; b=RCFQx8k+siQuHYue7JyHsInl1ZqPByfXlvpdgNUU8zGNG9OF/lRVC+iU I+mVoR16OmL4S98VOpeZ5jwx7tAvjw4Vg4QiUyLbPN6gPxZWJmWNp3Hgv yy0JfTl8MXVC0ScrYkyuAS5uFBLZIbrNxD7WSkdFsoiLCI0h90VkMQR0g YHSBJ3PnF4/fKqlWYMQ3gu/Dv2dEt7ItA4sYx/oDCeqt5HC8A1RwH7HOu MhZrhtL3u5xSjxBRG+BjHXc6ALVInomjSxhsbBQGP/BpwFK2PGCTJBANN lsaY8rDU76KZ8+UKJJW0mf8Bk4xHk8k2Jc+wWFJpTEr0n1c2P4dUEJWmy g==; X-IronPort-AV: E=McAfee;i="6500,9779,10447"; a="273349238" X-IronPort-AV: E=Sophos;i="5.93,256,1654585200"; d="scan'208";a="273349238" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Aug 2022 22:34:57 -0700 X-IronPort-AV: E=Sophos;i="5.93,256,1654585200"; d="scan'208";a="698558266" Received: from bard-ubuntu.sh.intel.com ([10.239.185.57]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Aug 2022 22:34:55 -0700 From: Bard Liao To: alsa-devel@alsa-project.org, vkoul@kernel.org Subject: [PATCH 03/11] soundwire: intel: remove IPPTR unused definition Date: Tue, 23 Aug 2022 13:38:38 +0800 Message-Id: <20220823053846.2684635-4-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220823053846.2684635-1-yung-chuan.liao@linux.intel.com> References: <20220823053846.2684635-1-yung-chuan.liao@linux.intel.com> MIME-Version: 1.0 Cc: pierre-louis.bossart@linux.intel.com, vinod.koul@linaro.org, bard.liao@intel.com, linux-kernel@vger.kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Pierre-Louis Bossart This read-only register only defines an offset which is known already and a version which isn't used. Remove unused definition. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Rander Wang Signed-off-by: Bard Liao --- include/linux/soundwire/sdw_intel.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/soundwire/sdw_intel.h b/include/linux/soundwire/sdw_intel.h index d9f51f43e42c..581a9ba32f82 100644 --- a/include/linux/soundwire/sdw_intel.h +++ b/include/linux/soundwire/sdw_intel.h @@ -27,7 +27,6 @@ #define SDW_SHIM_LCTL_CPA BIT(8) #define SDW_SHIM_LCTL_CPA_MASK GENMASK(11, 8) -#define SDW_SHIM_IPPTR 0x8 #define SDW_SHIM_SYNC 0xC #define SDW_SHIM_CTLSCAP(x) (0x010 + 0x60 * (x))