Message ID | 20210531131948.19477-7-raviteja.narayanam@xilinx.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=RU8f=K2=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73997C47096 for <linux-arm-kernel@archiver.kernel.org>; Mon, 31 May 2021 13:26:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3B9596135C for <linux-arm-kernel@archiver.kernel.org>; Mon, 31 May 2021 13:26:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B9596135C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=v2udLv556vkEbdj8vhXLxiiwwMzeAC8RvcFE6Yz5ODo=; b=WVm+yP74HCsFRS k0mo7EltNLN8fzQZm/KfT1aRw3l3IJECSYUoYrshl2BTNWHxBWuHvJvybuMT+RXHdIv9bw8zcB2rq s4nZWh45/RNP8t6CwopiwVUkjbHYhB18CkkE8+9POFrhz+XF1Cec9t7AMmeMdaWTCMzCUVYyWtKRp pQk1OBUnxDIXBuTV0LuJeNUnLWI1bx3765u7YBY88uOL6I/i4BNY60YR65bTuVD6lfMGRaXtYjbhp Dq8KWElsZDrW8l2PKhHktboYgK1vFRRI963Vx56dc8ZdvqBBHwVXwDyfGboXntDmiXeh+VTV0RoAk ztoRlgzetd6ayCFsJ3Dg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lnhtc-00CIzK-CT; Mon, 31 May 2021 13:23:57 +0000 Received: from mail-mw2nam08on2071.outbound.protection.outlook.com ([40.107.101.71] helo=NAM04-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lnhr9-00CID0-J2 for linux-arm-kernel@lists.infradead.org; Mon, 31 May 2021 13:21:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MCLjOS6/3YUfFPwISAjxcewjZ18mOkO0YvDVASpTGTM+KFL9qWoo6HX1ICOHHDUhyLGmJAgYDON25Ahq3RT1XQod/LBPxyTurWmCTh9P3XaUQzChN9IxFOg4pqA4skla76kKwZQwOvGxsDxhkEBYMA7FDYbeBFiO+sA2j4KJ3aZ0/PO3xIZN4Oysx1G5wFOaBStArMvkUVLiaSa4cRWMjBuc8wCkb6yRbjQ1mwaV4PbvlhDTwq7IuWuqzFZi+j8diOf3hDiO3V5ygzWqWNygR51Ji5oH0IoGVpcf5P4/puZOWlEFRtLB/d7QFMeJhNq9kC0CsEX7qUH24IDMhSDkuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=olQ1kIRSGkHH5KiXTQs67sKPfMcfsrDpvuJOb37YkVI=; b=N9h8Z4DeAqpc05joslNh/D622yboy+nU851fCOgncGyW7LFkBpGpZ93YgqT47f6g3HHeRYsdv0HzJ24uvUolsygIRkgqO/MBmkC5lXYe/z36Qe9jbZSBhntqEVXgbY7+6YHoCT957UNtfxLYf42Gr0caZlBOXD320t4rN/R9Fb5lh/KT73Ah5ID08daD8Ln+H+mrlVswa2ICzZfcU0r15uxjtmt+DueL3O+EkTYjtCqpEWWj3Qhx91a6sKW9+kIybWOniw8RbodZQqKpes2rqLLFhW+kkWoEEnunsynHGF7o/e60/tkKw3Twj8d7svICVCko2LNGCseWUX0xeEP/iw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=olQ1kIRSGkHH5KiXTQs67sKPfMcfsrDpvuJOb37YkVI=; b=eRX1TydGLle8PpDGExHFDLUKDallDxJa3qVU+FG8uIvZoZjPWhQcfMr+/mTIRIelBtuoepC3eHxIOdLbf2FZpOptgFbk7ukSfcwwhJyAqxVjHvhjGXs4U5h96Goo4UHaIXDSxVO7tS+NIXx3ciCBwFINelBsizx/3wDLQBvvSb8= Received: from SN6PR04CA0099.namprd04.prod.outlook.com (2603:10b6:805:f2::40) by SA2PR02MB7836.namprd02.prod.outlook.com (2603:10b6:806:140::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.24; Mon, 31 May 2021 13:21:20 +0000 Received: from SN1NAM02FT0018.eop-nam02.prod.protection.outlook.com (2603:10b6:805:f2::4) by SN6PR04CA0099.outlook.office365.com (2603:10b6:805:f2::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.20 via Frontend Transport; Mon, 31 May 2021 13:21:20 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch01.xlnx.xilinx.com; Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by SN1NAM02FT0018.mail.protection.outlook.com (10.97.5.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4150.30 via Frontend Transport; Mon, 31 May 2021 13:21:20 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 31 May 2021 06:20:50 -0700 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Mon, 31 May 2021 06:20:50 -0700 Received: from [10.140.6.25] (port=53014 helo=xhdnagasure40.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from <raviteja.narayanam@xilinx.com>) id 1lnhqb-0004GE-Me; Mon, 31 May 2021 06:20:50 -0700 From: Raviteja Narayanam <raviteja.narayanam@xilinx.com> To: <linux-i2c@vger.kernel.org>, <michal.simek@xilinx.com> CC: <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <git@xilinx.com>, <marex@denx.de>, Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>, Raviteja Narayanam <raviteja.narayanam@xilinx.com> Subject: [PATCH 06/10] i2c: xiic: Fix the type check for xiic_wakeup Date: Mon, 31 May 2021 07:19:44 -0600 Message-ID: <20210531131948.19477-7-raviteja.narayanam@xilinx.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210531131948.19477-1-raviteja.narayanam@xilinx.com> References: <20210531131948.19477-1-raviteja.narayanam@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3651d3a2-b365-4d4f-b4bf-08d92436fb0c X-MS-TrafficTypeDiagnostic: SA2PR02MB7836: X-Microsoft-Antispam-PRVS: <SA2PR02MB7836533C8DE4F99E18077C42CA3F9@SA2PR02MB7836.namprd02.prod.outlook.com> X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:4125; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: i3oNDlnIPX7v64pkvEwZxYLaIUTjMo/4qWJhYev0ge5OhdVPVjszTkkf5GPdZqpGZ1E3MmSwFImxKoV/WescTjX/327laPOldKZHTDEEr1Up72p3m7/CXM5/Z0Hr427FX7PdR1I8BDTgypbh/1ZjljwhiPQGTvx4J4IiYnnGvg2S9XzkUCISPbIsVW5rAhhL6NAn44y7oUZRf036Ky6FtXJSdcIGynTyxBC9VZrCcvTFI/ANybzEPFhWixBAoC/+mIkjN5OCZfcE4QFV5ofsy/wu8dpUK5CsHQyZGo5pd7rcPGOyhVgabR3ydHpPYj+57WyjCH42VZ9T15k0xviffNaEatHazgMhe2uxMnOFVw+Q0P02pra7kJx7ICOXQdVEGgS+Vh7tprkB4Rwm0hs/xevNs2L8To9UxI/SYjUPcJyHHgW/p5SCH8o1bzFf5FP4fob1ulmTuNg5hMMdFWP1Eazu1ngE3WByyonTfOMMLWVB3EZZHC8H1wsJsCH6TycEf6VjtCFM7RP2h/9hVY+tcs2aZ0RJOTlGXBwh97ttzBuP3vGD8h7YzP9S0ooDtaEOQ4s20NB4u1cjMnlEm4GN5yOLvjfKskz54n1u9dQdA5TM6AJoUJeGb01U8N2dOQHGKTXB5+TijxWTJqlda91QdQxn7DK5nVKUAbWhcUZ2GsNYO/iNq2wahOm+ZBKfcReK X-Forefront-Antispam-Report: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch01.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(4636009)(39860400002)(376002)(396003)(346002)(136003)(36840700001)(46966006)(6636002)(336012)(1076003)(316002)(36906005)(478600001)(110136005)(82740400003)(2906002)(54906003)(426003)(47076005)(4326008)(36860700001)(7696005)(186003)(107886003)(7636003)(36756003)(5660300002)(82310400003)(44832011)(83380400001)(2616005)(26005)(356005)(8936002)(70586007)(8676002)(70206006)(6666004)(9786002)(4744005)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 May 2021 13:21:20.7584 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3651d3a2-b365-4d4f-b4bf-08d92436fb0c X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.62.198]; Helo=[xsj-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: SN1NAM02FT0018.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR02MB7836 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210531_062123_670278_37378B52 X-CRM114-Status: GOOD ( 11.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
i2c: xiic: Add features, bug fixes.
|
expand
|
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c index b2ac76d94212..1a26e5ebfc6c 100644 --- a/drivers/i2c/busses/i2c-xiic.c +++ b/drivers/i2c/busses/i2c-xiic.c @@ -542,7 +542,7 @@ static void xiic_send_tx(struct xiic_i2c *i2c) } } -static void xiic_wakeup(struct xiic_i2c *i2c, int code) +static void xiic_wakeup(struct xiic_i2c *i2c, enum xilinx_i2c_state code) { i2c->tx_msg = NULL; i2c->rx_msg = NULL;