Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1886584ybv; Fri, 21 Feb 2020 05:10:21 -0800 (PST) X-Google-Smtp-Source: APXvYqwVuNLUjrltQIv9GXE4goBH1cUTLDINf+/zwtvFY1/JMeMLUVkJ5o4/XELimJ6CPkz44MUA X-Received: by 2002:a9d:7ad9:: with SMTP id m25mr26964549otn.13.1582290621185; Fri, 21 Feb 2020 05:10:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582290621; cv=none; d=google.com; s=arc-20160816; b=SQTaGnI6jqJNc8vZ0HylzmFRV9G2CNGeItV252YTswrRFYqOE4hU4hMSaCv5rnHb58 iTG6t0azQs07iOkDBilAXkIw8RcVxpl7kSJmPxJadiQBGqFZBRmDll/si2T7c26iPbG+ NzYq9b4AZU0OgoGXbgFq1EgAe1wW8JlqIobFooreLWFhEaMN6JwmPsk3gqr0hoJkQxNa lyo2ztAHzMj0KnbSJndQ18AWbt3qqitBEccnfHuZVGZ3QY06FrogPCo/FBSlz4lNjNJy zfBhcZhTw8Yg3XSXTThm9ZTqv0+vkmn9whHrSi+9fEN17rvTLAlUrzpfS37OPT1mu7FN cm0A== 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=/JLWUB3t8SXEVXFYy2M8RH7eXhVGs2NGkioCewTP/HA=; b=bMZ9oN0QlrOEAL1pDfqCNHRMbWsNHQWUvl38UaU8VN8h5tJ63USLw+9EESLJvs/lZ2 PnY8aK+TgAbuZAi6zQF8W9PrdeuR8s16WxW4G/twgDTLfJgftzJKsOjhwLl476j7s1yN 6Frkfs8Q90kvvZP3+2o9zK8xZwaNyKGGR7GmRrtiIVuF1cMYBwfq8vAHfnS3vUxShFzn GXDgNWejsep/IrU9NHJKHfwYoP1vomix4fBkQzbd7jzq7N9q9cw82bftfCf4TAOGwVLE CKnrkR8hcqUXTLcYOqx5EfgBKK8tNzQk+T+KKmVnvVL1U2clsGlCDs6tY4yYEwPYAVHj 2jUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HVh8kJpm; 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 s22si738377oij.35.2020.02.21.05.10.05; Fri, 21 Feb 2020 05:10:21 -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=HVh8kJpm; 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 S1728392AbgBUNJu (ORCPT + 99 others); Fri, 21 Feb 2020 08:09:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:41860 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727039AbgBUNJt (ORCPT ); Fri, 21 Feb 2020 08:09:49 -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 7FB672073A; Fri, 21 Feb 2020 13:09:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582290589; bh=x5dOhvzHSc8beGLE+9gDETJ0R/m5PPi0qfK+oDIEYww=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=HVh8kJpmpuqQ1D1wq6/C2x7vvemNAjZU8ObMOq47fjSfzZiB8XaZSudlIwhY6SuSi 2uaXPFAXV3rAXPw9Kvit8Y0l2+XUsdUL5PqsGhOxQvH2nujJV8Vc4iaYLvcTUyvCtB w7c2qqIkNWlbFvayAUIgNuU9NnitY9ERzIWMI1Ns= Date: Fri, 21 Feb 2020 13:09:45 +0000 From: Jonathan Cameron To: Alexandru Tachici Cc: , Subject: Re: [PATCH] iio: accel: adxl372: Set iio_chan BE Message-ID: <20200221130945.3b0111dd@archlinux> In-Reply-To: <20200219143112.25976-1-alexandru.tachici@analog.com> References: <20200219143112.25976-1-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 Wed, 19 Feb 2020 16:31:12 +0200 Alexandru Tachici wrote: > Data stored in the iio-buffer is BE and this > should be specified in the iio_chan_spec struct. > > Fixes: f4f55ce38e5f8 ("iio:adxl372: Add FIFO and interrupts support") > Signed-off-by: Alexandru Tachici Applied to the fixes-togreg branch of iio.git and marked for stable. 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 9c6eebf379ca..3eb413df3c8d 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, \ > }, \ > } >