Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10357951ybi; Thu, 11 Jul 2019 04:03:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxrIzmEYe2g34KSNW2pPqYvFSuwt6/97VGN5CkScUj5qrdIVUn4O4P7ZdVX7jc6+o6QJn2r X-Received: by 2002:a65:50cb:: with SMTP id s11mr3744686pgp.371.1562842984323; Thu, 11 Jul 2019 04:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562842984; cv=none; d=google.com; s=arc-20160816; b=PrQDBhb4ioMoV7Xj4VDDnXEBgbdl88RPX7s2MElVOw5C4AiOAXbIg6jujTxZf4ZfY7 32h+kt58rWPZBZUcQMu38JkOEheDWUyAs8AYvpMTANskr8ADDMXGddqVuFbTz9darXiE XQxfToTn441zwsMhAH0KdTYa4eeOjBUYad6uIlZKyWYIYrLY2h83BZxJImiQkjiSCdpP F+RyIO3fn/gRYyJWgfGK7ld9VSX8AgS2l/CFo1S+MA38nzHT1XmXVSl0jROo3FgHaGI2 P7vZIMFi1YvizApwpns8UtOjsdRlM0B688lpwLH8YhTYffkCH38DAh4KPUnf3aAoRmKO hS1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :dkim-signature; bh=TtzfoRFKy2OTkEitm2SUYyQTnF0EAsIQRxFUZcUQLqI=; b=sZz+SlXStu1xYdlHWOGoSWt7SntIigXLpW1UAYRJM4T3b24Bu2JcOK6IdLtNL50J84 /XTaCnuI7BttgoXH8J76uS4tq1JxHHwJb2ulgy2u07NqgRZpZFyaYbqTagJf1cgBaVHd hlC2l22fF1AYCVhf4Kg1WfK7lUCeMJVpSoR/qgOL0ITQDLFhHW4Sb080qHjMjg+S9z+9 3vC9+vVhkyknppIDVpUYil9ptHbWIFeK6yLluOsEIMbfaP3RSuTlUVr/+gOYR1G7nm/z EQ30tPrj6KIRVqQ8YX87QYVVQiR22qxxpLfeZBQ/Lh7quwsl+AqPtzvl2qsJ/d5SkjiK 7cBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=NiBZ4vRS; dkim=fail header.i=@synopsys.onmicrosoft.com header.s=selector1-synopsys-onmicrosoft-com header.b=Rnnfghpk; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a6si4709758pjo.91.2019.07.11.04.02.48; Thu, 11 Jul 2019 04:03:04 -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=@synopsys.com header.s=mail header.b=NiBZ4vRS; dkim=fail header.i=@synopsys.onmicrosoft.com header.s=selector1-synopsys-onmicrosoft-com header.b=Rnnfghpk; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728276AbfGKLAj (ORCPT + 99 others); Thu, 11 Jul 2019 07:00:39 -0400 Received: from smtprelay-out1.synopsys.com ([198.182.61.142]:53594 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727865AbfGKLAj (ORCPT ); Thu, 11 Jul 2019 07:00:39 -0400 Received: from mailhost.synopsys.com (dc2-mailhost2.synopsys.com [10.12.135.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 56AECC1222; Thu, 11 Jul 2019 11:00:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1562842838; bh=9VXeoZFAFdkzjTLb8OQbkD3NulzNVI84TdmACMjG7wI=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=NiBZ4vRS0j9o8lESy+4JL17wZ414V3n0ndXA1l6f23N+n24x792nNmxIMKPUA606z eJnsL6hJMJrIBvCT8hH9X2SIZTy5+PdE1agDQHI8ukh2CiLC+iKTe4YdbMy5URh0lC SEPMPph2yvjtkqkHtxg9YD/Mz3goFs8lfgo53S/VFeBJRjO9whjkJBRaTz/+VZhBuv 39MRjjgwtfhcfvuVXqDYPS/AckRJpSwFc2+4Lk7VuXTc3m/oCHsHyBsK0qbx+2YmM5 4tUl8lJ4cOnVzZuu5X8YwwG+TzYpm1svUJ5a8zx8rE6QPz00XcXvyYf/OZK/0gsiR/ 1Fspo1oAH4hpA== Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id 94271A009B; Thu, 11 Jul 2019 11:00:35 +0000 (UTC) Received: from US01HYBRID2.internal.synopsys.com (10.15.246.24) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 11 Jul 2019 04:00:29 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (10.13.134.195) by mrs.synopsys.com (10.15.246.24) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 11 Jul 2019 04:00:29 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=synopsys.onmicrosoft.com; s=selector1-synopsys-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TtzfoRFKy2OTkEitm2SUYyQTnF0EAsIQRxFUZcUQLqI=; b=RnnfghpkA8pdIanE+ULdFmv3JIllW0IKT0rQEq1UBrEHSVbonPre1eH++jBu6487pqpPREKkA5bN+1VvLsanUOVQpVsazT9AbDjn5CTfkJtySos0vDMkPjdxoUOh3p70KWo2oyLwwylaPGVha/zsnDJ0h30vfPUTrrKe/DY/uFs= Received: from SN6PR12MB2655.namprd12.prod.outlook.com (52.135.103.20) by SN6PR12MB2733.namprd12.prod.outlook.com (52.135.107.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.18; Thu, 11 Jul 2019 11:00:28 +0000 Received: from SN6PR12MB2655.namprd12.prod.outlook.com ([fe80::1dbd:69dc:e782:92b6]) by SN6PR12MB2655.namprd12.prod.outlook.com ([fe80::1dbd:69dc:e782:92b6%6]) with mapi id 15.20.2052.022; Thu, 11 Jul 2019 11:00:27 +0000 From: Vitor Soares To: Vitor Soares , Lorenzo Bianconi , Vitor Soares CC: "linux-iio@vger.kernel.org" , "linux-i3c@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "broonie@kernel.org" , "gregkh@linuxfoundation.org" , "rafael@kernel.org" , "bbrezillon@knernel.org" , "Joao.Pinto@synopsys.com" Subject: RE: [PATCH v3 3/3] iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR Thread-Topic: [PATCH v3 3/3] iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR Thread-Index: AQHVNy/EafU1/RkKpEi9l4c7Sgkq0qbEQUqAgADyYXCAAAvq8A== Date: Thu, 11 Jul 2019 11:00:27 +0000 Message-ID: References: <73955529ae0c31f428221abb88031ab3b4165659.1562767521.git.vitor.soares@synopsys.com> <20190710194405.GA10520@lore-desk-wlan.lan> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X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BQUFB?= =?us-ascii?Q?QUFBQUFBQUVBQUFBQUFBQUFBZ0FBQUFBQW5nQUFBSFlBWndCZkFHc0FaUUI1?= =?us-ascii?Q?QUhjQWJ3QnlBR1FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFRQUFBQUFB?= =?us-ascii?Q?QUFBQ0FBQUFBQUE9Ii8+PC9tZXRhPg=3D=3D?= authentication-results: spf=none (sender IP is ) smtp.mailfrom=soares@synopsys.com; x-originating-ip: [83.174.63.141] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 217b56e8-ee16-4a22-a58c-08d705eefbbb x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:SN6PR12MB2733; x-ms-traffictypediagnostic: SN6PR12MB2733: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0095BCF226 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(346002)(396003)(376002)(366004)(136003)(189003)(199004)(76176011)(33656002)(102836004)(25786009)(6506007)(66066001)(99286004)(3846002)(6116002)(7696005)(508600001)(6636002)(2940100002)(110136005)(316002)(54906003)(14454004)(68736007)(4326008)(2906002)(229853002)(6436002)(446003)(53936002)(71200400001)(71190400001)(74316002)(305945005)(107886003)(7736002)(6246003)(26005)(76116006)(256004)(14444005)(64756008)(66446008)(66556008)(66946007)(8936002)(66476007)(86362001)(476003)(486006)(5660300002)(11346002)(186003)(52536014)(81156014)(9686003)(8676002)(55016002)(81166006)(42413003)(32563001);DIR:OUT;SFP:1102;SCL:1;SRVR:SN6PR12MB2733;H:SN6PR12MB2655.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: synopsys.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: L61Xsjriazzu7fnhyIkL0xBIjyFz9+oKcs/kjkrhfejh/+r0o5ZxFpp5gfrU6Q/CcQW2s3HWiR0Lca1aDeUOf7C1YuXz/OwIYYizjkajZVrXQ0Y2DJox4vx5f0Swabp2abi2k4do1AhkgsmzI2UdOWikBrzl/fN1ruvhQNfz/glAPWKDykhcpX+SjJUmhLHI3Qidm4pMYZVYh8MguOZQtNrBYuUfNfslx/wVugCyZ1M/O+XVDIz6PiIU40P3VV6xXqW8K8XO7+l8pvHrw8/PzG6YOF1KxOyZ8zl4QsKrYgKGPkzEdTafIWSbijccYDUR+BYyjedeGTgTMJHS7Ja2dq0z70z/FWcafBLb9f79i7PTUOHxZZkMCoc4MSXWeY/nBMlYEIluc05jHq0ZvNdBvwSAwaeeD/u20kQAxPyYgOc= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 217b56e8-ee16-4a22-a58c-08d705eefbbb X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jul 2019 11:00:27.8789 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c33c9f88-1eb7-4099-9700-16013fd9e8aa X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: soares@synopsys.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR12MB2733 X-OriginatorOrg: synopsys.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vitor Soares Date: Thu, Jul 11, 2019 at 11:12:34 > Hi Lorenzo, >=20 > From: Lorenzo Bianconi > Date: Wed, Jul 10, 2019 at 20:44:05 >=20 > > > For today the st_lsm6dsx driver support LSM6DSO and LSM6DSR sensor on= ly in > > > spi and i2c mode. > > >=20 > > > The LSM6DSO and LSM6DSR are also i3c capable so lets give i3c support= to > > > them. > >=20 > > Hi Vitor, > >=20 > > just few comments inline. > >=20 > > Regards, > > Lorenzo > >=20 > > >=20 > > > Signed-off-by: Vitor Soares > > > Acked-by: Lorenzo Bianconi > > > --- > > > Changes in v3: > > > Remove unnecessary st_lsm6dsx_i3c_data table used to hold device na= me > > > Use st_lsm6dsx_probe new form > > >=20 > > > Changes in v2: > > > Add support for LSM6DSR > > > Set pm_ops to st_lsm6dsx_pm_ops > > >=20 > > > drivers/iio/imu/st_lsm6dsx/Kconfig | 8 +++- > > > drivers/iio/imu/st_lsm6dsx/Makefile | 1 + > > > drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c | 61 +++++++++++++++++++= ++++++++++ > > > 3 files changed, 69 insertions(+), 1 deletion(-) > > > create mode 100644 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c > > >=20 > >=20 > > [...] > > > +static int st_lsm6dsx_i3c_probe(struct i3c_device *i3cdev) > > > +{ > > > + const struct i3c_device_id *id =3D i3c_device_match_id(i3cdev, > > > + st_lsm6dsx_i3c_ids); > >=20 > > i3c_device_match_id can theoretically fail so is it better to check > > return value here? (maybe I am too paranoid :)) I was preparing the patch and if the i3c_device_match_id() fail it return=20 NULL so the st_lsm6dsx_probe() will fail automatically. Checking the spi_get_device_id(), the drivers don't test the return value=20 too. Do you think it is really necessary to test it before the=20 st_lsm6dsx_probe() function? Best regards, Vitor Soares