Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2966876ybv; Sat, 15 Feb 2020 07:37:19 -0800 (PST) X-Google-Smtp-Source: APXvYqwSBCCHoTZAXy9f8EFNZyPIZbpDGFZMphVaroQjy15m5ppQVNfcfISCyF/dHcIZZxyedShu X-Received: by 2002:a9d:750b:: with SMTP id r11mr6579189otk.310.1581781039566; Sat, 15 Feb 2020 07:37:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581781039; cv=none; d=google.com; s=arc-20160816; b=TIUc4LJCCGWIqO0+f7hg8LO3Q11vc+dBQPIXItV5dfuonZdclDLfgif2yLrW3gm1Bt avxwvsK1cZlJLpFKxDyQZe27gGj9fw5M2mOZK99TUjJeH5MsIBR67Bv/aXAQGkwVmm+M cb0/YBNagMV49yTyLYC8Vb9FD58q+9q+EG5ZKmP5Do2U1cqWNkGBTi6r0RWsbMiLc/8J IYClO5OEbj/KHX4eadXfdJmIaK2m60Hy/I4dFhOsOnNW4YYyf+yvPvS+66TzT+c8WJyn 5HXeuuJHgjlMvciPKBgcklVr6gHjCS5O6FcdWTPK/Ctsnihmp/H/taBtIDCEStuOvhUt pQ7g== 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:subject:cc:to:from:date :dkim-signature; bh=LzfNl41o1wSq4710Z+4AXcq0q9AZ1pOKpkn510szbic=; b=zVG9shz3uWcXYPHtdoIwNfC48/tf+GpGwZKDB+zSK6rf2DT5y2b//tdX75sUQcP2s4 oAzVaMLC+vB5LM7mYXHatDTTGZ+w9d9jMSGK2Sz8q4IKJzTwoe6GkJ/l18Lra7w7IuiF VI4Qq1gzIEOgvkP6Xzei5m3q3/zKkM3bwFb0GIYvQbbf7ZNITIJYmn8hK1gYDThfwl+V DoJqLCfJXhQ5zWtlGu4XAI+Qw8CUT0zMiodR5gWKaAwmNQAs2pR87+xivVCpl1LqGlmc sH+xJCHbYYqBXjCL3HPBe0hZcF0iVPcV3K19zkHtT0K+8FlvLSlipNcm9KdDpauufj/Q h6Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=t934JHHF; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si4450974oti.226.2020.02.15.07.37.07; Sat, 15 Feb 2020 07:37:19 -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=@kernel.org header.s=default header.b=t934JHHF; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726427AbgBOPg6 (ORCPT + 99 others); Sat, 15 Feb 2020 10:36:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:40520 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726233AbgBOPg5 (ORCPT ); Sat, 15 Feb 2020 10:36:57 -0500 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (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 9A64F2082F; Sat, 15 Feb 2020 15:36:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581781017; bh=M2+/yfpUyLGN7E4gfvySoS0R960CpS+2bqx2UOAVy68=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=t934JHHFwAEdqpVJ5z2PFlSXiW44G5BzAqmsqIY/zjnskHlhfMwWuMiYxtyLc/Qjo MjiSxQph9ehhN5vMS5unFCqWU6prxwCcp9Rpf51x8FCSOwnzSd9Bkib0vviVUDBJII LaL8LCTP8OCxPpRLyD8ZswFSDfakmX4Cjnni0EJo= Date: Sat, 15 Feb 2020 15:36:53 +0000 From: Jonathan Cameron To: Alexandru Tachici Cc: , Subject: Re: [PATCH 2/5] iio: accel: adxl372: Set iio_chan BE Message-ID: <20200215153653.4aee3b1d@archlinux> In-Reply-To: <20200214092919.24351-3-alexandru.tachici@analog.com> References: <20200214092919.24351-1-alexandru.tachici@analog.com> <20200214092919.24351-3-alexandru.tachici@analog.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 14 Feb 2020 11:29:16 +0200 Alexandru Tachici wrote: > Data stored in the iio-buffer is BE and this > should be specified in the iio_chan_spec struct. > > Signed-off-by: Alexandru Tachici To a quick glance this looks to me like a fix we should be backporting. Please add a fixes tag if so and I'll get this lined up to go in during the RCs. Thanks, Jonathan > --- > drivers/iio/accel/adxl372.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iio/accel/adxl372.c b/drivers/iio/accel/adxl372.c > index bb6c2bf1a457..538e5053a946 100644 > --- a/drivers/iio/accel/adxl372.c > +++ b/drivers/iio/accel/adxl372.c > @@ -237,6 +237,7 @@ static const struct adxl372_axis_lookup adxl372_axis_lookup_table[] = { > .realbits = 12, \ > .storagebits = 16, \ > .shift = 4, \ > + .endianness = IIO_BE, \ > }, \ > } >