Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4965990imd; Tue, 30 Oct 2018 09:58:30 -0700 (PDT) X-Google-Smtp-Source: AJdET5crxEb0PuJHCu9XiOYKfKgehoHtQFpoVi2pXVQ4M+/cGuf3TGZJSeVIUapD52bPG1W192KY X-Received: by 2002:a17:902:bc8c:: with SMTP id bb12-v6mr18799123plb.275.1540918710312; Tue, 30 Oct 2018 09:58:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540918710; cv=none; d=google.com; s=arc-20160816; b=ZDTKs5cFdTv8/QbID74t5df1xXDZ0kRMa3Kmw3/TSsoUFDtY/9irxhWXaglr/mWNx1 tKHuD7do4VjYN0M1Tdeduu37hj640J29Wj7o29rIK6IJ+MVVcXplNGw0C7bwX8HFA25Y 2A6rAeYouXTskibsbzjjg5zTy6mPU4rqmIt7E6Pyp7FmKm7Lg2XPaQOGDZKzryEjUoyB U5+1yCqoZyeSlWYWO2zcFQVgyWQnKmd+hslG1mpBGzj1tEYYLiheFddU+pdPCloNRZnk C5Mn8smg40yjXSj+b3sT76mAVVngIulQIoF3+q1nxkqKln0mTfXovrM1jvy04ut6l6Uh 4qgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vzSyGcuP3+rZkBx7Wx42qeEn+OZuOP856LiRE8Irvuo=; b=Dyy+LZySCJY/8F006S47yuswPHXJY5TPkj99fBw7GziLugGbw+jHmn9Rsy0SikzMJ2 IuL1ZIBPKr2zq1ghLzL5FD7rS+AKpSy3aS10/QoUljfsgbg/jX6O/FqcY4UZir3lssfH eViwP3KCcemSO3ou6dcRnJUey/0kezitJizU6y8DS800n2xXwdoVfVd6M+7gLEBwxZyE P8AHUt2TSVacX56Vj3I010Po7smzgnAAnZh8cI5yhRpij6yL8uJa7g9Uv1p9HOVvQD34 RSzBbEaIPaa4SBwH3UHPBPnmm+VM5/vDPzBiYjdH/vZWb4hjqorK1vV0uxcqnZRP00Un fP4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@usp-br.20150623.gappssmtp.com header.s=20150623 header.b=TJNZKGWd; 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=fail (p=NONE sp=NONE dis=NONE) header.from=usp.br Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11-v6si25418093pln.21.2018.10.30.09.58.14; Tue, 30 Oct 2018 09:58:30 -0700 (PDT) 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=@usp-br.20150623.gappssmtp.com header.s=20150623 header.b=TJNZKGWd; 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=fail (p=NONE sp=NONE dis=NONE) header.from=usp.br Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728008AbeJaBv3 (ORCPT + 99 others); Tue, 30 Oct 2018 21:51:29 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:47039 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727837AbeJaBv3 (ORCPT ); Tue, 30 Oct 2018 21:51:29 -0400 Received: by mail-io1-f65.google.com with SMTP id y22-v6so7692790ioj.13 for ; Tue, 30 Oct 2018 09:57:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usp-br.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vzSyGcuP3+rZkBx7Wx42qeEn+OZuOP856LiRE8Irvuo=; b=TJNZKGWdJ0r2J4zaw5BIfePhIeiwpV+LNRNnz+4WfIYrM5SbDl+eF+2QtMH06HOw4t iFkvONpPUrG8/mohwVlR34Wx1wUkgYJPlZLpIIOe9HD+SMn7wR+WFOsfLzTWlQ80lXzZ EZVKP0yvMoruZcjFKXEho6GH38akLA4NvyLjj97OWuMuGcPuMhf5n6sKY8WQik3/Zegj Q0291kLdBa5UD0yDIakqE0JoyMMxeqelws5XFT1XBa8HO0ons4uqWuPCIha4fD/NDYXv MA7YDDO3uLiV+ijjDBU0UQ7YCzjVTKyAMIJXaF56lz+AA2qQwYwSMc6KJ97WyzoslCpA lNkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vzSyGcuP3+rZkBx7Wx42qeEn+OZuOP856LiRE8Irvuo=; b=UhPlWzfwfAbt5MS1DIrew2bD2VDPGgkcLq7tfOTdzncQsrgovEmIkODRFsTolFCbYc 2AJng3SNKY1v/pOMe06WzCo/mh8jE+IRD3r6FfOYbStKbol0vLBoup2KFARcHgJQxnIv 3kTz97FjiyUuolOI58ZOJ506aXyUzoPiKz2fi4jojvS52Kw1TbCDDJdd0gVjQ9qpDLOr ev9b29MeHBF8WqDaQaU3cP4j2YNhWWQ7czg+MjAuK+uwHU9dfD0rX7PmXN3ZFU7FINk2 //V3ZBRzR+KYYLQY+4YIum9mwMq5iZdCIgt74bQfXqVwOOyLOqVLtlHecIVCL5i6Y2/V dRCw== X-Gm-Message-State: AGRZ1gKr+HQSJs1NEXzU++/O4pLjNjXXBfTacdFD+LVBJKN6mGO6Hhgw fQJZ08A9zVOxm8CHQoDAOQwfEDEx1yGeZkFf22+HMw== X-Received: by 2002:a6b:abc6:: with SMTP id u189-v6mr6991931ioe.229.1540918632391; Tue, 30 Oct 2018 09:57:12 -0700 (PDT) MIME-Version: 1.0 References: <20181027020005.3140-1-matheus.bernardino@usp.br> <20181028165202.52ee89b3@archlinux> In-Reply-To: <20181028165202.52ee89b3@archlinux> From: Matheus Tavares Bernardino Date: Tue, 30 Oct 2018 13:57:00 -0300 Message-ID: Subject: Re: [PATCH v2 0/6] staging:iio:ad2s90: Add scale info and improve error handling To: Jonathan Cameron Cc: Lars-Peter Clausen , Michael Hennerich , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kernel-usp@googlegroups.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 28, 2018 at 1:52 PM Jonathan Cameron wrote: > > On Fri, 26 Oct 2018 22:59:59 -0300 > Matheus Tavares wrote: > > > This patch set adds scale info to ad2s90's single channel, improve > > error handling in it's functions and fix a possible race condition > > issue. > > > > The goal with this patch set is to address the points discussed in the > > mailing list in an effort to move ad2s90.c out of staging. > Thanks, > > A good series in general. A few suggested improvements. > If I haven't commented on a patch, usually it means I'm happy with it > and will pick it up with the rest of the series. > > Jonathan > Thanks for the review, Jonathan. We will address the necessary changes in v3! Matheus > > > > Changes in v2: > > - Added my S-o-B in patch 5. > > > > Matheus Tavares (5): > > staging:iio:ad2s90: Make read_raw return spi_read's error code > > staging:iio:ad2s90: Make probe handle spi_setup failure > > staging:iio:ad2s90: Remove always overwritten assignment > > staging:iio:ad2s90: Move device registration to the end of probe > > staging:iio:ad2s90: Check channel type at read_raw > > > > Victor Colombo (1): > > staging:iio:ad2s90: Add IIO_CHAN_INFO_SCALE to channel spec and > > read_raw > > > > drivers/staging/iio/resolver/ad2s90.c | 55 ++++++++++++++++++--------- > > 1 file changed, 37 insertions(+), 18 deletions(-) > > >