Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp343288imm; Wed, 11 Jul 2018 03:32:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeCUknllG0LXd0CenT5DoBtPMhC6EN0UwmQpRGZz7slMoNIHsh6RTQB1ramE2i9U0SUEVL9 X-Received: by 2002:a62:3545:: with SMTP id c66-v6mr12598952pfa.63.1531305171550; Wed, 11 Jul 2018 03:32:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531305171; cv=none; d=google.com; s=arc-20160816; b=iOBWoB0aKGwnCqy4GQPFAwKKpgO486JcodL+OR40BfOTwYLZseOkLb+FgqekOYDYqv cQI2wp0WZFgT8x3UU4dbdPLM4epRxx+NkWY/Mw4YvFoY5HY7dWiw62Y6qRvk/6UkoHlk EvCf2NeHbPse1WgiQa8IElvXHHiCF3aii8xa3YepeaDifFO5H0XZ3wFWx9gyUox4fHaa hO6cLCQh3QISSmG0gnmqJjKWnwzcEwHZMwh6rVFeChwFJt+rc/CzAS3wW0Bqsndd7Mhb pji/KeteC2C+LyzTu98yUayN1D6SZZCNl9n56KL3iNzyNzcG4dgamXU1vezFhN8+TDCO dzYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=zzuypX4tlrYljp8LovFOmEbHN6Xlc3Glc5ElAZwtgd8=; b=Otx2wlymsdTJJW5DcNwwHYXohh/15qpQNkfbYa0FkGmwJ3nnlOcRyQ/Rp9xeXjuaj9 KqcUTAiTq5lyu2UzGGq2ZhRiJ2hLBob82qeZ90OTj2eD51XVRQXdL/BSCA6AcV5XdE+5 +VFHexU1wTzH6dX8I+9w2Ba5DZyEmDl7Dl+Xx6U38qUF3V4yb0x4e3af9TJIuYamxgLr S8Og7FO/ZGUWUwU8EtLzskTrCRkGEkD64ievBcljBb0ywCf784m6zIi94VtImZ5NYiFI 7F5U4642yUfsNNA9EcwS/+yETQlL8w6HMc+TKH3U2ee5kvdIO0hBSzv4zvk9DpAh+tu+ P+eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@onstation.org header.s=default header.b=YizqwXot; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t24-v6si15535114pgk.632.2018.07.11.03.32.36; Wed, 11 Jul 2018 03:32:51 -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=fail (test mode) header.i=@onstation.org header.s=default header.b=YizqwXot; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726729AbeGKKfK (ORCPT + 99 others); Wed, 11 Jul 2018 06:35:10 -0400 Received: from onstation.org ([52.200.56.107]:38930 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726504AbeGKKfK (ORCPT ); Wed, 11 Jul 2018 06:35:10 -0400 Received: from localhost (c-98-236-77-125.hsd1.wv.comcast.net [98.236.77.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id 2E6B02F7; Wed, 11 Jul 2018 10:31:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=onstation.org; s=default; t=1531305090; bh=ey09jrjK0JbUL4vI7nVfUQmEOIrLK3sDknKmC2+LWUQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YizqwXotcr6guub71aOp6Nn+1ytai8HoWqqAOUeY9PRvM8cSaR85guYRMaSWejIh7 4bJtCg9v4I5mVk29N5QxPWK0B82d+lckqV+8ksWEUg6rhGzjU1xg8BInL7EkzbSdMk tqhpPTfhT/r3M2AWD32h0ptKXH9PxhTCIpc74znE= Date: Wed, 11 Jul 2018 06:31:29 -0400 From: Brian Masney To: Himanshu Jha Cc: jic23@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, andy.gross@linaro.org, david.brown@linaro.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, jonathan@marek.ca, jmaneyrol@invensense.com, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, mkelly@xevo.com, fischerdouglasc@gmail.com, bshah@kde.org, ctatlor97@gmail.com Subject: Re: [PATCH 2/3] iio: imu: mpu6050: add support for regulator framework Message-ID: <20180711103129.ql4txni63i2m7m4r@d08157822050> References: <20180711010932.20313-1-masneyb@onstation.org> <20180711010932.20313-3-masneyb@onstation.org> <20180711100442.GA30019@himanshu-Vostro-3559> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180711100442.GA30019@himanshu-Vostro-3559> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 11, 2018 at 03:34:43PM +0530, Himanshu Jha wrote: > Hi Brain, > > On Tue, Jul 10, 2018 at 09:09:31PM -0400, Brian Masney wrote: > > This patch adds support for the regulator framework to the mpu6050 > > driver. > > > > Signed-off-by: Brian Masney > > Signed-off-by: Jonathan Marek > > --- > > } > > EXPORT_SYMBOL_GPL(inv_mpu_core_probe); > > > > +int inv_mpu_core_remove(struct inv_mpu6050_state *st) > > +{ > > + return regulator_disable(st->vddio_supply); > > +} > EXPORT_SYMBOL_GPL(inv_mpu_core_remove); ? > > This is causing 0-day test build failure perhaps. You are right. It compiles if I have CONFIG_INV_MPU6050_IIO built into the kernel, which is what I'm using to boot the board, but fails when compiled as a module. Good catch 0-day! The patch won't apply to Linus's current master branch and I assumed that iio/togreg didn't have the required changes as well. Sorry about the noise. I'll send a v2 before the weekend. Brian