Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1298750imu; Tue, 11 Dec 2018 16:58:33 -0800 (PST) X-Google-Smtp-Source: AFSGD/WfnIRT5YGCkAD96bVbfJOtt07+1goM3VBNzf6sLykStJedysIxvbuij2uHlHtW38s7omM7 X-Received: by 2002:a17:902:2f03:: with SMTP id s3mr17622660plb.277.1544576313835; Tue, 11 Dec 2018 16:58:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544576313; cv=none; d=google.com; s=arc-20160816; b=oUjNCQBtv0p0nA85dFt53b8wpBNXUSTN78EY/VjKOtOh5b1rWi0tmqpD4bO8NQ5Eoy gZf9EOONwtApw8oRyyoGABvAdjbsdQiegnXrpkJ3BTtLfgouK0bMbx3ahoIJBFLGFtcQ Maw4wg1FYEgTR9szEvI8l45gLEtbuyb4VnBfFgsMmxdFzctCNODo6o8G+tAIt2zcrYvR SeFVgFzBoDjk62U2R9/sdH9Rrqbn/YYJ5zLadKfVYwc6XhrpAR/PxqnGN9yDfa0wgArL JxOteCrq5UrKujzVvQSFqfDmtCnN1RWy6w6xZCr8/oNkvEEcV+voKVvCiUlG/fcJlffx R15w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ry4gCuZwxl4eTtZDuPmKDxqeBqB1zeEesHvItHlLEa8=; b=X6A71Db4hv4C5YJzhwxycpm+xu7yr8Oai+LMXMDJ6DMiqMc1PdXkmIESf6S3AgHcbC yq+MiQnWjomZlIyYD0J1+llYcVl+Lbx5TJP/lnAcJHEVcWYx+Gd0xh/JtRq6F+axv9Ns BOP8ZZsRcYYq/Z4+N/DnGvOwCD1I+n/M5NBgnjDGbG/ZcSgpHjPbyN5RIDTK75ZpOwfl QjIglbo26f6ary4ESm2t0t1BRgtxyRgqwv16BcXB5t820Iojqqu1jA3cbZfvcKu02sHy niOBgdeywmGrjb9UhbKXwgb+ATXJu+bjJ2eQ6Ny40pCvg0QzLshQdkN7W4UvHo1YRIq7 PBQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kC4WdKD2; 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=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 t63si13400994pgd.78.2018.12.11.16.58.18; Tue, 11 Dec 2018 16:58:33 -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=pass header.i=@gmail.com header.s=20161025 header.b=kC4WdKD2; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726331AbeLLAzp (ORCPT + 99 others); Tue, 11 Dec 2018 19:55:45 -0500 Received: from mail-io1-f68.google.com ([209.85.166.68]:38527 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbeLLAzp (ORCPT ); Tue, 11 Dec 2018 19:55:45 -0500 Received: by mail-io1-f68.google.com with SMTP id l14so13449195ioj.5; Tue, 11 Dec 2018 16:55:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ry4gCuZwxl4eTtZDuPmKDxqeBqB1zeEesHvItHlLEa8=; b=kC4WdKD2r4PK0fbt9txKCC70r/0VAPoug/fgGzehJXaG/ALY478m74qCbDxsAj1KPl IDGQFjptY3jSUs2FfR+v4bEx2ELuZ8wS+7lmO0nx8wF1gGiN5M+zgIF16hURNxLdZlTU qnrv72e42CXgWZ6xpfVf+HSST0Z4gJNPwKrupeAySvzi1tDnhnfUgHCHtPSCu/t1JVxV ToeP6es9391XvIJveMWt0ezWZUBRVh89mQZJIabr0Rs1n5wQQVUJfAo8tcVS7KnRlbSO rRQqbUHtst8WvsahzPYiye9H0M9Y2ky4eNFig9prLjobe8jfWK4vyOLBu9PNGXf3tJFg /mdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ry4gCuZwxl4eTtZDuPmKDxqeBqB1zeEesHvItHlLEa8=; b=eyqYOW3Hg1MRvCwIopZlmAtElyCDlSFqy0VAA8AId+y4vBH+A0YWZyxlANZnWdy1ME wxQF5UK+ei515kWSD3kwxILbXvchwcM+LqRk4dkxRPQxvp8gS54USyQp1bFQacr0AJ2V n1+r8Q016z8h4jrPiDJ2ZCRrEeApv3eXRgyEK7QIGU69t6r2/gs5NScu2eS9tnMTacde e+FSMKL5UHe0F5IbIdTZlsGvqYnQjDL680/xHrHNNghPuWhB9SPScMMOTDK05IDHSemd zn6kFNKDnpjLMKA/iMAz78aj2LYQcGBPpsNvAFqkUgKBloIsg12QofBlHZldeBl9q4va vAog== X-Gm-Message-State: AA+aEWbl4iQUsSOKYza2H2RVEX6LZ9n5rjX7g66L9qM1sv5RKEcbzBq6 cE5HN14zvO2pRhjjYmzC5dCQINT2o0U87g== X-Received: by 2002:a6b:d005:: with SMTP id x5mr15420936ioa.46.1544576144438; Tue, 11 Dec 2018 16:55:44 -0800 (PST) Received: from r2700x.localdomain (c-75-70-96-103.hsd1.co.comcast.net. [75.70.96.103]) by smtp.gmail.com with ESMTPSA id l186sm1952445itl.22.2018.12.11.16.55.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 16:55:44 -0800 (PST) From: Jeremy Fertic To: Jonathan Cameron Cc: Lars-Peter Clausen , Michael Hennerich , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Jeremy Fertic Subject: [PATCH 01/11] staging: iio: adt7316: fix register and bit definitions Date: Tue, 11 Dec 2018 17:54:53 -0700 Message-Id: <20181212005503.28054-2-jeremyfertic@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181212005503.28054-1-jeremyfertic@gmail.com> References: <20181212005503.28054-1-jeremyfertic@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change two register addresses and one bit definition to match the datasheet. Signed-off-by: Jeremy Fertic --- drivers/staging/iio/addac/adt7316.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c index dc93e85808e0..1fa4a4c2b4f3 100644 --- a/drivers/staging/iio/addac/adt7316.c +++ b/drivers/staging/iio/addac/adt7316.c @@ -59,8 +59,8 @@ #define ADT7316_CONFIG1 0x18 #define ADT7316_CONFIG2 0x19 #define ADT7316_CONFIG3 0x1A -#define ADT7316_LDAC_CONFIG 0x1B -#define ADT7316_DAC_CONFIG 0x1C +#define ADT7316_DAC_CONFIG 0x1B +#define ADT7316_LDAC_CONFIG 0x1C #define ADT7316_INT_MASK1 0x1D #define ADT7316_INT_MASK2 0x1E #define ADT7316_IN_TEMP_OFFSET 0x1F @@ -117,7 +117,7 @@ */ #define ADT7316_ADCLK_22_5 0x1 #define ADT7316_DA_HIGH_RESOLUTION 0x2 -#define ADT7316_DA_EN_VIA_DAC_LDCA 0x4 +#define ADT7316_DA_EN_VIA_DAC_LDCA 0x8 #define ADT7516_AIN_IN_VREF 0x10 #define ADT7316_EN_IN_TEMP_PROP_DACA 0x20 #define ADT7316_EN_EX_TEMP_PROP_DACB 0x40 -- 2.19.1