Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1508512pxb; Thu, 7 Oct 2021 09:06:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGwJtEyZ2bZxEXxZm995PBpBNLlQObx3z8vCsJzu7WQd6Lb13lFZDT5uZLuBnoZwEik5NM X-Received: by 2002:a5d:5989:: with SMTP id n9mr6836135wri.89.1633622797253; Thu, 07 Oct 2021 09:06:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633622797; cv=none; d=google.com; s=arc-20160816; b=bec8/DvPyKXaoysky+wKF4DyD95cBrRRUUmlf4oeB6y3k7gnjN+XDEEafqy4Rd+Qfa Mz0febbdCihqVg+E1OrdhVUKNuHasR+ZL5SyPbN20/9yd6OzphBioHTTj/zlnZjSumTQ LA2JlyYQg7ONLIbZ8albyB6jPRiPCdfGrDjIdKdYUZmMuaLcjxEVM4BsYBHDefVoNWeB ZHKN3Fq0ES/PY63ru0N8ZUxiEWGEb32oBLZi1PeX8Q+1SbYJe7LXtWr2Xp8hcYP9/Oak LpGxTUkI7C/9vR1c5poPYAscY4+f0mBePshKQedh5nK28UmAsXhQ9zJahmXstSGfQxoX F3Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=hxVyDf3kVINhHll9/xz0Jbtj17YQ/uXLpcPgnoJZylk=; b=mutOIKEdpsqFnF5wCk70khe8NiU5jxBPBV0CzInqCQCFd6ZtwoqFiBtJJklmXGpNCG fiWy8YZ6GA6JMXtOK9EeexF9P7PvT75XbQxdq6cksN9nUs33uJ9d/zIIhFKC6rjobbYN F/rlVpxobjJBw8aSDQAn+Rl0fmc1p2ZB1oY69IYp7EX/HUoPU7uvKghTUemPKiQ12ZQq 89NAoUub3ONdqeitNHzhlfaezsGkMcKGJiuRu+cZFXIqh/PsQrx6UAlcxTmo/g72RCM+ EIJJtereyqoj6kf/z75TKNSZ4/xaF+lSqr/ky20Hnf4xfudGHEN8tolICdwZ1Z+iyj9N aaXw== ARC-Authentication-Results: i=1; mx.google.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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n26si8740988edr.145.2021.10.07.09.06.00; Thu, 07 Oct 2021 09:06:37 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241740AbhJGPtU (ORCPT + 99 others); Thu, 7 Oct 2021 11:49:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:51354 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232870AbhJGPtP (ORCPT ); Thu, 7 Oct 2021 11:49:15 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 01D9F61074; Thu, 7 Oct 2021 15:47:18 +0000 (UTC) Date: Thu, 7 Oct 2021 16:51:23 +0100 From: Jonathan Cameron To: Mihail Chindris Cc: , , , , , , , , , Alexandru Ardelean Subject: Re: [PATCH v6 4/6] drivers: iio: dac: ad5766: Fix dt property name Message-ID: <20211007165123.023ecbc1@jic23-huawei> In-Reply-To: <20211007080035.2531-5-mihail.chindris@analog.com> References: <20211007080035.2531-1-mihail.chindris@analog.com> <20211007080035.2531-5-mihail.chindris@analog.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 Oct 2021 08:00:34 +0000 Mihail Chindris wrote: > In the documentation the name for the property is > output-range-microvolts which is a standard name, therefore this name > must be used. > > Fixes: fd9373e41b9ba ("iio: dac: ad5766: add driver support for AD5766") > Signed-off-by: Mihail Chindris > Reviewed-by: Alexandru Ardelean Applied this one to the fixes-togreg branch of iio.git and marked it for stable. Thankfully this is (I think) far enough from the other changes that we should be able to take the other patches through the togreg tree and have them all meet up in linux-next / upstream. Thanks, Jonathan > --- > drivers/iio/dac/ad5766.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/iio/dac/ad5766.c b/drivers/iio/dac/ad5766.c > index 3104ec32dfac..dafda84fdea3 100644 > --- a/drivers/iio/dac/ad5766.c > +++ b/drivers/iio/dac/ad5766.c > @@ -503,13 +503,13 @@ static int ad5766_get_output_range(struct ad5766_state *st) > int i, ret, min, max, tmp[2]; > > ret = device_property_read_u32_array(&st->spi->dev, > - "output-range-voltage", > + "output-range-microvolts", > tmp, 2); > if (ret) > return ret; > > - min = tmp[0] / 1000; > - max = tmp[1] / 1000; > + min = tmp[0] / 1000000; > + max = tmp[1] / 1000000; > for (i = 0; i < ARRAY_SIZE(ad5766_span_tbl); i++) { > if (ad5766_span_tbl[i].min != min || > ad5766_span_tbl[i].max != max)