From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96BB4C31E49 for ; Wed, 19 Jun 2019 06:02:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 53B8B208CB for ; Wed, 19 Jun 2019 06:02:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=geanix.com header.i=@geanix.com header.b="Jw7eld+U" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725916AbfFSGCG (ORCPT ); Wed, 19 Jun 2019 02:02:06 -0400 Received: from first.geanix.com ([116.203.34.67]:47826 "EHLO first.geanix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725866AbfFSGCF (ORCPT ); Wed, 19 Jun 2019 02:02:05 -0400 Received: from [192.168.100.94] (unknown [95.138.208.137]) by first.geanix.com (Postfix) with ESMTPSA id 47344345; Wed, 19 Jun 2019 06:02:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=geanix.com; s=first; t=1560924121; bh=tZfHrb7lg5btdkLaItRPZUcABewljDofEieSoIPtoEM=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=Jw7eld+Usg1HkmVaDvekazQ6xK4wHvXEcIBjbDDCUtVBQyRGZkVsIjivU7sp3ORe3 SXFzuNrGNyK54HZVbzyu5UkuNFXCrPk3/qoZTil1FloC3hjhqGDaodkluydV21QbfN Ex3W/MYBVBHrXnWUcbGnjzZ+xmFYyyZh5COi4po4EI5zCzc/VFpRNqFLP89DzZRtK+ /dRb8xI8cNk8VAsAp3D/t0BZOhmvjvQD3+WjuDJrY1VDdixMiH0GOQ4txbM3NecZAa rry8nrMpBDWVGaEoPHtAMeUScC7JIUccPvqPV3tSfH2qu5MerS+xM5tVwN53gFBuu5 agGhA+2EXYSsA== Subject: Re: [PATCH 1/5] iio: imu: st_lsm6dsx: move interrupt thread to core To: Lorenzo Bianconi Cc: linux-iio@vger.kernel.org, jic23@kernel.org, lorenzo.bianconi83@gmail.com, martin@geanix.com References: <20190618125939.105903-1-sean@geanix.com> <20190618125939.105903-2-sean@geanix.com> <20190618155705.GA22268@localhost.localdomain> <20190619055853.GA4035@localhost.localdomain> From: Sean Nyekjaer Message-ID: <05621525-1f9d-8576-f7f7-5d6cda17a704@geanix.com> Date: Wed, 19 Jun 2019 08:01:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: <20190619055853.GA4035@localhost.localdomain> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US-large Content-Transfer-Encoding: 8bit Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On 19/06/2019 07.58, Lorenzo Bianconi wrote: >> >>> I can't see why we need this patch >>> >>> Regards, >>> Lorenzo >> >> The interrupt handling isn’t only for fifo reading, so I think it’s correct to move it out of the buffer handling file. > > Uhm, re-thinking about it I agree, it will be useful even for upcoming I3C > support. Btw I think you are using a prehistoric version of the driver ;) > > Regards, > Lorenzo > Yes I'm on 4.19... will rebase to iio "testing" for V2 /Sean