Received: by 10.223.185.116 with SMTP id b49csp6689569wrg; Thu, 8 Mar 2018 11:31:23 -0800 (PST) X-Google-Smtp-Source: AG47ELvmDWg8R3L60XUo285DVbISUHawLEnO2OHfyr+/fCdPsnPSOM0K5Uky+fj1kpsjaA2VQ9pa X-Received: by 2002:a17:902:82c6:: with SMTP id u6-v6mr25092311plz.401.1520537482990; Thu, 08 Mar 2018 11:31:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520537482; cv=none; d=google.com; s=arc-20160816; b=scc2kW6F46NSylDHsgaA0hqaFgOvGhcMmNS8qx7WE54SK+2E2UziTYH3vKAndPruxb nhyNBUbj3VnPK/ZE7PqVOykaXWks9Q4W+ZaNSSgHWTvhaLfkNr+4sid6m2/bdoF5pool ezloOaaevVTkGteGjkmu0l1QFoejkAjHQxq2yejrpt17j0xuYWqk2yG+MSADubzkl1ZG fNKfuZx0ZXx3g2+sLGQxe9KcVl/UcQYjN/pfGLDV5Fq8fXY9AlyFAQn/Fe+Kxn1kbgDu 1rV4jvRk3jdHLGaRPvqzjFVRPxYu2ItAiV7UrSSGNud6INDVKlUrGF7S37RKkTqEqsja gr6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature:arc-authentication-results; bh=uXFMk9OYDcEZbNrdKhRPUeCdVBbIyIpkTxiE/WKPpK4=; b=qZFZgHJxGu94vNaMgvm6LJokp16gKoLhgTb//QOdIORU5gIAECsmhuag/YHdYQfd/s P7z4N2nl2cUr1Pa541pd3nB5EN/CNBo5kpuQtDJYm5Xup0IMK+5ckJmpdjHi+FmIAP6q QYd2ek71aGWsrD8NIdTQlyAtm+HYETLiK2Q2QBT0j9qPvzJreZpDS9fk3ANOqEquXPL9 vkrU0kDcE2Mg0UeeZihW6ocbvf1d4g5mp0gBY25gbUjKLorrVpUOrL5Dd6JHSvXSsY0U EuPux5Al4R0BogaRlJhF1pQGaAR8nfJzglMPmY7dPs1Jj8pBNWB0MvX2yxFP1OZ8TcZb QFng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=DUjVpaW1; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a6si13370491pgd.787.2018.03.08.11.31.05; Thu, 08 Mar 2018 11:31:22 -0800 (PST) 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=fail header.i=@gmail.com header.s=20161025 header.b=DUjVpaW1; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754762AbeCHT1i (ORCPT + 99 others); Thu, 8 Mar 2018 14:27:38 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:41003 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752060AbeCHT1g (ORCPT ); Thu, 8 Mar 2018 14:27:36 -0500 Received: by mail-pg0-f67.google.com with SMTP id q27so2600496pgn.8; Thu, 08 Mar 2018 11:27:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:cc:from:message-id; bh=uXFMk9OYDcEZbNrdKhRPUeCdVBbIyIpkTxiE/WKPpK4=; b=DUjVpaW1RyeI7TKjXfytjkUSmO2diRYPIRZsU+fUsH9hnCKM7VDDCdyYebM2vpnFcG tUE4kE9fes78xomXP9tnU7bbiwnpIVE5p2Om3hsniGOtqK3lj8DcwLL2/fHSFq/TF4px HSGtZWIEK7Pw595ryNTJ/M2Tyjkpy/F7l3zS+IDg71FO+kTZRJxb/QF1YOcKWqw83aHp wy1az0U5ikg9RjhA4VoMk6sCcd3E3h1IwyUf5Y/8pRSVi40a3fvgxNtOQindJnTFAvE3 UQ/E+odpsXxofQUUoKnkEB7QClwojmyaYh3fRXJnpCNKQl1GOg7oJoZopLwJubkYnOp3 M6Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:to:cc:from :message-id; bh=uXFMk9OYDcEZbNrdKhRPUeCdVBbIyIpkTxiE/WKPpK4=; b=d4KjSI8pmIXurutSdlyG6vquHKzyZoWYZsAFajPSO3RgKjffgzIyrll8odBorlVIfb RNro8OfwKkOGd/4utBavzgG6yBSN6gAqW91mx2KDnSN++59a/trjuy6Rn045d3HO+kME 1lvJFvhDK++sJIe/e49dyNEqe49nn5E/oWwVkziC67gcGiKRv8Msupu0YsYXyjN8ssVf C7vKSINZZfhBrbNQRdTl0d0WJ/LzWAbpAWNgzD8PLj31hs8BtYTAAPbwceHsB0ZUjT05 mlD4Y0w6pF02u5gW+qa0mp8e5ZLCGUNlcHd4vV+XH8RIQ6sBJtcZQz3H9A/ZB3KA2s7n 5ocg== X-Gm-Message-State: APf1xPBzol4Rnkq47oWFKhMB7YhybxboAv1lLsvgCVDqXZNcV5im7C/n lc6mwSGSsqXsmUOlFm2/tOk= X-Received: by 10.99.116.10 with SMTP id p10mr22024411pgc.97.1520537255576; Thu, 08 Mar 2018 11:27:35 -0800 (PST) Received: from [192.168.0.100] ([103.212.140.137]) by smtp.gmail.com with ESMTPSA id y84sm42376061pff.81.2018.03.08.11.27.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Mar 2018 11:27:35 -0800 (PST) Date: Fri, 09 Mar 2018 00:57:31 +0530 User-Agent: K-9 Mail for Android In-Reply-To: <20180308191111.GA2041@himanshu-Vostro-3559> References: <1520532977-10653-1-git-send-email-shreeya.patel23498@gmail.com> <20180308191111.GA2041@himanshu-Vostro-3559> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v4] Staging: iio: adis16209: Change some macro names To: Himanshu Jha CC: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, daniel.baluta@gmail.com From: Shreeya Patel Message-ID: <6EF6C73A-ED18-4C5F-8368-929258026979@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9 March 2018 00:41:12 GMT+05:30, Himanshu Jha wrote: >On Thu, Mar 08, 2018 at 11:46:17PM +0530, Shreeya Patel wrote: >> Make some of the macro names according to the names >> given in the datasheet of the adis16209 driver and >> have slight indentation in field definitions to make >> them clearly different from the register addresses=2E >>=20 >> Signed-off-by: Shreeya Patel >> --- >>=20 >> Changes in v4 >> -Have slight indentation in field definitions=2E >>=20 >> drivers/staging/iio/accel/adis16209=2Ec | 48 >+++++++++++++++++------------------ >> 1 file changed, 24 insertions(+), 24 deletions(-) >>=20 >> diff --git a/drivers/staging/iio/accel/adis16209=2Ec >b/drivers/staging/iio/accel/adis16209=2Ec >> index eb5c878=2E=2E19636e2 100644 >> --- a/drivers/staging/iio/accel/adis16209=2Ec >> +++ b/drivers/staging/iio/accel/adis16209=2Ec >> @@ -68,21 +68,21 @@ >> #define ADIS16209_MSC_CTRL_ACTIVE_HIGH BIT(1) >> #define ADIS16209_MSC_CTRL_DATA_RDY_DIO2 BIT(0) >> =20 >> -#define ADIS16209_STAT_REG 0x3C >> -#define ADIS16209_STAT_ALARM2 BIT(9) >> -#define ADIS16209_STAT_ALARM1 BIT(8) >> -#define ADIS16209_STAT_SELFTEST_FAIL_BIT 5 >> -#define ADIS16209_STAT_SPI_FAIL_BIT 3 >> -#define ADIS16209_STAT_FLASH_UPT_FAIL_BIT 2 >> +#define ADIS16209_DIAG_STAT_REG 0x3C >> +#define ADIS16209_DIAG_STAT_ALARM2 BIT(9) >> +#define ADIS16209_DIAG_STAT_ALARM1 BIT(8) >> +#define ADIS16209_DIAG_STAT_SELFTEST_FAIL_BIT 5 >> +#define ADIS16209_DIAG_STAT_SPI_FAIL_BIT 3 >> +#define ADIS16209_DIAG_STAT_FLASH_UPT_BIT 2 > >#define ADIS16209_STAT_FLASH_UPT_FAIL_BIT 2 >? >It represents flash update fail bit!=20 I think so that I have sent the wrong patch :( This is totally the reverse of the change that I wanted to have=2E=20 Maybe I messed up with this patch=2E=20 Jonathan, please avoid this patch=2E=20 I'll send the corrected one soon=2E=20 Thanks=20 --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E