Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5589541pxb; Mon, 28 Mar 2022 14:38:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzK3Wqmg7Q/Jkd+yMX5bomNWk4WsScyB02b1zLWPAggljOdhbTBE1X1LUktcNT1bs89FNQH X-Received: by 2002:a67:db82:0:b0:320:7056:8b34 with SMTP id f2-20020a67db82000000b0032070568b34mr13205347vsk.25.1648503505399; Mon, 28 Mar 2022 14:38:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648503505; cv=none; d=google.com; s=arc-20160816; b=nKUT2NC/Cp5GuoN7OAk2f0QPB+guWNUA4LqrIT53TxkqOb5sCpUkfQc5JSXkO72Mkh q1d3Vge9MKgSF93cTgwQL8SVRANNf2GnDxwmODShxT9mQz+GAzXg/s6BQW0eGJ7okMPI Nd4+KT0ONxIQ+5cQgKhN2JeAS7lfoUYXg9VZTK5GN/9Buk61E2MSd9VHj7RcK+LZ5rAz oLuTEKPRQyeT8md8ZAW5m1UVypBYKifO6J58tvVicR3YKoQ4oYoxrIWv93cNyZShfg2w QssawJSXrqJjnZMnywkwKpadVZCaHT+73pw1jZuDjKPEM6UwgYVt4sxk+K3ONU0PpU4B 3RNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=yu665j/iElCvxD/UYxHqm5c8k6YEsd7NiQqb8GTsgY0=; b=0MW166qRjtv4Hqb9qC55NzZYITnbXEXh7uvjY4TrT0kC5J16zgeqc8z4V7oEgzTXZC sf4PjuDf/qF/wUH+1OHrDptX98s81QzPYf5ssNCaBiT5l1NW68hsJMqZi3U/w7L/2k3F k1PkOj/bDZs9Vts9kt2ozD2Hb+/6CqR/Wp5/ICLuc4CdYFljlai9Cqn8FG0xbQFU8oIM CYoyCTJuIxMY2sQuIVl9Yo5ou+zF2OsC1MEoyQumY+PqUuSx5loWH2dBsm+F/cr6v8G6 YYLAs6i9yVfjwve5LAF7J05mxHRIpt4oZRcdsZAUgAaZ8R57KXCEDDMSz8Nhobr80RTq dc0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KqNM7ZRq; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id bm42-20020a056102512a00b0032549fb7d2bsi3561049vsb.636.2022.03.28.14.38.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 14:38:25 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KqNM7ZRq; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 72219716D4; Mon, 28 Mar 2022 14:15:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236559AbiC0Tre (ORCPT + 99 others); Sun, 27 Mar 2022 15:47:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236547AbiC0Trd (ORCPT ); Sun, 27 Mar 2022 15:47:33 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BA283BBF7; Sun, 27 Mar 2022 12:45:54 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id r13so24666721ejd.5; Sun, 27 Mar 2022 12:45:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yu665j/iElCvxD/UYxHqm5c8k6YEsd7NiQqb8GTsgY0=; b=KqNM7ZRqeFz0N3q1HofbMepFBhGhkPZEX2pEiTIGKIqO0orEAOR5VjWQjPhuozAr2N v465OrGrgywHmFmuoT/8ctLa4/JPZ12VnByr93go6JSgXgCyYDjqOKVVuhxLztNm9Vw1 iSPRym5vYC5Z3J7zbaFFIHHvKIv4T6d+HCqzApaDEWRIdtPVn9p5yIdDqwTXZl+IpgCm S1Ew02JqqV6psB3hkP0ppIExTe/HElDrMx7YTMCVGSDfyrBy19hcFw+jshXbXKq8GNhe Apbr8O/DohUD8D8VdCzH3aHw65UslstOCinsVZQcu85ZSH6Tx8w9Gl3FoXm4yVpIcUq8 FhPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yu665j/iElCvxD/UYxHqm5c8k6YEsd7NiQqb8GTsgY0=; b=L4tD0U4Ej3CPmZHY3ixHUAvvq95POVgZmsG2RzqbTPyHqJIcuGyzg21gshuHJ1AR3l krY6uhYHKf6ALbKsT4euz1yhjVZshmbVSpCejzsgPDxzz7IkWP8tv9RbYndQ5lxj5P5F 13k7rpnxOX5HPXW7HWs/abgz2CH+HTiBTJapq37gUOR56Cs+VEJZtR79J4VzAqU8uvhP 9cF0O2NQN2i3PQRab1tkToo6Fv3fnO+JbdTC+6/MiC4d+ssALWx4P53C7CIrto9SARyd IkPAFQRKUlZvUfbj5rMma7Lefy27KdhP6djknBSAokryUPJ4lxEk1757UjFea3HF1VQJ lJyQ== X-Gm-Message-State: AOAM533Ft7x6z6BgAGZJ+kI+3F10u98+eDHMAYgthghDfkAx41oUN4w4 0JYbHsrB34NJ0QgXoRhfBXWwfxmkn/fMXFLVH1LRxpfPYgc= X-Received: by 2002:a17:907:e8d:b0:6e0:19e7:9549 with SMTP id ho13-20020a1709070e8d00b006e019e79549mr23624761ejc.44.1648410352643; Sun, 27 Mar 2022 12:45:52 -0700 (PDT) MIME-Version: 1.0 References: <20220326194146.15549-1-jagathjog1996@gmail.com> <20220326194146.15549-4-jagathjog1996@gmail.com> In-Reply-To: <20220326194146.15549-4-jagathjog1996@gmail.com> From: Andy Shevchenko Date: Sun, 27 Mar 2022 22:45:16 +0300 Message-ID: Subject: Re: [PATCH v2 3/5] iio: accel: bma400: Add triggered buffer support To: Jagath Jog J Cc: Dan Robertson , Jonathan Cameron , linux-iio , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 26, 2022 at 9:41 PM Jagath Jog J wrote: > > Added trigger buffer support to read continuous acceleration > data from device with data ready interrupt which is mapped > to INT1 pin. ... > + struct { > + __le16 buff[3]; In my (mostly review) practice it's rare that sensors operate in LE mode. Please, double check that. > + u8 temperature; > + s64 ts __aligned(8); > + } buffer ____cacheline_aligned; -- With Best Regards, Andy Shevchenko