Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp102114ybh; Tue, 21 Jul 2020 17:36:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxwgQnmGQ2vUtsYa/iIA/uqq+/+mTKW7P5i/s192YVt/2odXxrcB9MdDWRwv92IejbtZwh X-Received: by 2002:a50:fc88:: with SMTP id f8mr28732844edq.314.1595378164598; Tue, 21 Jul 2020 17:36:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595378164; cv=pass; d=google.com; s=arc-20160816; b=iHPhgmO9plxzWaCGKCA0a/iK40yE67W2Z+3p5wk1UxD80Tl6g7gSAYWmRf9aSeqOtY v8P+1wGkZ3NDLA9RVjVfCrVMa7J9ayjlkcj/I+4CgGt53x7cHAZVwvZnn9pzGQyyZ17Z mSfrRadLQb9VgFqduW819YfIMCAOM5qDceB1MxOX8fd0tUUmaeGHIwIpINwwdyYv0T6R eJ4s4ij8nrsVGNqXApP++ygyltN+GsmMLjmnrf/v5vtCJ9wd2146TQBHlEgZWxFAKfsl xu+OCR4TXJ6GyTPRhQAhGRBcMrPCxHl1/MlAPyKZJdtug3jwBRQD+IxFgQqZ6V6rBL9B jbJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=q08i8TgpAfZssDPAyFyCKPwwguvIPnxVmVLZie23WVE=; b=eeUvnCUW6ztH1MCWQKzp4jK3dW7AwkIt96ctfIy4XBIti9mW14P5BL/oS7H/M0BSI1 SLxhQZvtEXl7dyMPdlgZG+aHOJZHnPih1SOyAz+0HSKwGkA1+exzowp6Urf/i6iTk97M +Es/W3/2oOTf9FzVHoY9GaE0MLiZjiVkLoWCqyfjjTvxcFixGoh8ScBlK7+kNjyu5Trc EKaKin179vCEIFp1y1MOMPvTdVqE2DYEuJJHQVsiHyK6ubNdpXYJmUlnG5l/Kxfi1myK /nbCjBxI5L8x/SFnzAA3FtwTkyYTq4AJcdtZL3663oOT41V5lFQ0/KH+z8ef4Jnac1Uf RutQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Df13hatx; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw28si13363650edb.424.2020.07.21.17.35.41; Tue, 21 Jul 2020 17:36:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@nxp.com header.s=selector2 header.b=Df13hatx; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731207AbgGVAex (ORCPT + 99 others); Tue, 21 Jul 2020 20:34:53 -0400 Received: from mail-vi1eur05on2064.outbound.protection.outlook.com ([40.107.21.64]:8398 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726959AbgGVAex (ORCPT ); Tue, 21 Jul 2020 20:34:53 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L40mm7LgMravz/SEPySfFDLnqws9Bxchpv2efSgqvKGQy4c5Y4ZjEWAQjWY5qZPfsXCx0QmicrQTvLSO0pPQScsNprys3a+I1jZO339KyE60Uc6apAP/Z/XitPNiJT5DDtc/sj6Zohyx3TICR/ubolIpXTFJKVhdRp22y9a3kYhbcoqz2lRJ6Vlnqxc6VxV3yw3lFis66ai5ojhXjAG3HNxduh4b3KbIelxeFAMZaCWKSd7te763vfHQprPLnSek/bp0w/36LdLtj9hLmtkTkKXtB32klFuidBdU9aaRiAZ3U+WQj6SHFu4/Uz8EzPVrce+vuNIHNwOOH8115GtGoA== 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=q08i8TgpAfZssDPAyFyCKPwwguvIPnxVmVLZie23WVE=; b=c8hQR3H9Rsl/JrJ4l9oyiazci1QYjmNLfmV3ZSNzBCJBj/SZ0C94/daxbp8dZHzwdpfuxcsd/mmnPmpFczblfgOdmK05VcWN+fwRQpbc2mBaH9vooOotc+FKyI9bTeWra4bnWi4RwW1Dvmp40NtDj8yZFQOxN+FTuxb2DxMsV/839vcqi349Ia0CcT/u+jBAkM4lXG4N/N/JI6Ic4/tz1T/gCw+U99wSPbjM4fQVNV7LFzCS+V6qvUfC4igGOzpykdsV3WwbpeNR2dpeV7wJZaljDZ7rwE1AobaZxZdbdT0Q2B1tG3oJFGc1ROhpHv0V8ZOERecVJ2oieyguvdFh/Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=q08i8TgpAfZssDPAyFyCKPwwguvIPnxVmVLZie23WVE=; b=Df13hatxIrizUkdieHLbt44Wp+guHh3DYqkxCe5yj3VhgYLP8W47rrYFdP1DPINzNBxBNtuNbm0ePYuX/jyBcWm6E0YymHXy98yyDAkfeoAEBEZXx5h8Hi6vscIr6hbBMgjl3jOWrlHk1SqntQlsThEX/48uLfDEoMIwXKiDkqE= Received: from AM7PR04MB7157.eurprd04.prod.outlook.com (2603:10a6:20b:118::20) by AM6PR04MB6440.eurprd04.prod.outlook.com (2603:10a6:20b:f4::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.18; Wed, 22 Jul 2020 00:34:50 +0000 Received: from AM7PR04MB7157.eurprd04.prod.outlook.com ([fe80::1101:adaa:ee89:af2a]) by AM7PR04MB7157.eurprd04.prod.outlook.com ([fe80::1101:adaa:ee89:af2a%3]) with mapi id 15.20.3195.027; Wed, 22 Jul 2020 00:34:50 +0000 From: Peter Chen To: Pawel Laszczak CC: "balbi@kernel.org" , "gregkh@linuxfoundation.org" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "rogerq@ti.com" , "dan.carpenter@oracle.com" , "heikki.krogerus@linux.intel.com" , "colin.king@canonical.com" , "jpawar@cadence.com" , "ben.dooks@codethink.co.uk" , "kurahul@cadence.com" , "sparmar@cadence.com" Subject: Re: [PATCH v2 3/9] usb: cnds3: drd: deleted != Thread-Topic: [PATCH v2 3/9] usb: cnds3: drd: deleted != Thread-Index: AQHWWP1Gr9U+jhl6R0eCVw9AqHDt2qkSzcoA Date: Wed, 22 Jul 2020 00:34:49 +0000 Message-ID: <20200722003440.GB5807@b29397-desktop> References: <20200713100554.28530-1-pawell@cadence.com> <20200713100554.28530-4-pawell@cadence.com> In-Reply-To: <20200713100554.28530-4-pawell@cadence.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: cadence.com; dkim=none (message not signed) header.d=none;cadence.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [119.31.174.67] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 6f0689a4-2efa-4b18-fb7d-08d82dd70b2a x-ms-traffictypediagnostic: AM6PR04MB6440: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DijX2eaKlCV6SsHD4jbVktALcSurABPp/xJci3WL7WdEoBHDD5H8Ev0IVYDhcuMIzm2oya6dIcbp7kFPSbfPFg00G5jF00kP/5ndJ+q7ytXE8hJe3SMC2oH+imHUiEjeO2lSaLv4G9DLFwbBD5gvEbFmFD64Xcc68fwLAVsN4FfDuiP59+Onct6mT98JuuhUNysvZ7yePvoe+J0I2vhcbJZqL4LUGQqmRHjTYmVYYJF0fcTYUQiZuyIm0LcYzosIfZD8sbwOelLUf6964mewUPpc44UINlKFujJVHw70TNG44aZ4/HTvs5UCp6Qvrrl0Pe8rhQgS6X7pY/E/Igfx6A== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7157.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(7916004)(39860400002)(396003)(376002)(346002)(136003)(366004)(6486002)(33656002)(6916009)(478600001)(6506007)(4326008)(7416002)(186003)(53546011)(26005)(91956017)(76116006)(64756008)(86362001)(316002)(44832011)(8936002)(71200400001)(33716001)(66556008)(54906003)(8676002)(2906002)(4744005)(9686003)(6512007)(66946007)(66476007)(66446008)(83380400001)(1076003)(5660300002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: 6L7Eeh2eN0ob7kuDJxZ6aOYqb4d5LAnJrO1us37jC9Pv2BrnS5zD0fMchlTmNT0GCfmQ2o1d4krgLmNYPSmR0B+qUVtP/jJXsmjOr8F4IvmyfJvZbptKzBYJ8shgl4w3fLdA4k0+jWfTu756SFxCJeCsXlwffgUlgCpbhqhSIxNFn/+FLOWp576m8B7pZPD6QZxQPL3Z5k56mVjXodsdJiqSGzGmQjgDUxYLvClvQ45CDvCWlNdqtHUyrT+6FrCKTU5OakZBSFB8FiVFy1ACpVfgSr0PUzl2LHA4UJv/376sHh+8eUT02pBt6Uqr0TOiyqW9ohcgg4fORE2Ax8bDb5ti0CSU0Wi76XGzfZyIsBomLcxpfbOcY9AB0EVxqlMPk21CFjCdjmRrbAK6BtD6HqnxJaq4KZkvsPN3ZFnIbs0E6S/sNcmT65YSNRKp1GP87TOEWDNtqW9F4NvZQMLTjfQKPbLoBvpLbmamqIXwia3IwD0jsjqJ8GRngbPpl1K1 x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7157.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f0689a4-2efa-4b18-fb7d-08d82dd70b2a X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jul 2020 00:34:49.9986 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: c5ACnIhF4fTBKcelPK3QsqoOdEDi+WZApuTaJAhZ+W1IVl3vYgwdfMm0IgXyBYeE+nle2zE/jZIGuvl9l6NvyA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6440 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20-07-13 12:05:48, Pawel Laszczak wrote: > Patch deletes unnecessary !=3D from condition statement in cdns3_drd_init > function. >=20 > Signed-off-by: Pawel Laszczak Reviewed-by: Peter Chen > --- > drivers/usb/cdns3/drd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/usb/cdns3/drd.c b/drivers/usb/cdns3/drd.c > index 4939a568d8a2..6d2da504ad49 100644 > --- a/drivers/usb/cdns3/drd.c > +++ b/drivers/usb/cdns3/drd.c > @@ -365,7 +365,7 @@ int cdns3_drd_init(struct cdns3 *cdns) > } > =20 > state =3D readl(&cdns->otg_regs->sts); > - if (OTGSTS_OTG_NRDY(state) !=3D 0) { > + if (OTGSTS_OTG_NRDY(state)) { > dev_err(cdns->dev, "Cadence USB3 OTG device not ready\n"); > return -ENODEV; > } > --=20 > 2.17.1 >=20 --=20 Thanks, Peter Chen=