Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2265888pxp; Mon, 21 Mar 2022 15:21:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEpr0krNVgE7rigCjwvOeTsCZAgAhAomDljOt6KmhYxeXN9+LLBsoPHEHvkkNDHR4Vl4QM X-Received: by 2002:a17:90b:1b12:b0:1bf:1e5d:55e0 with SMTP id nu18-20020a17090b1b1200b001bf1e5d55e0mr1343753pjb.213.1647901287915; Mon, 21 Mar 2022 15:21:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647901287; cv=none; d=google.com; s=arc-20160816; b=An7IggkAhVSB6zs0W1e+vVavbSlLW6HMTKh6U3OFHJkluRc0u8sTNScyTIEi4hFm51 KrqCf90qufvHgRmIAGiIJrEbXfHjahsfaI4nBN24MEnV1qg2IA9TPBGuyG5TFBnySaep TyMIGnU0Drsl2GiZdzwipB8NWcVJAZW6o0Eb/qMdsQKrmr8RwJqzIRattTHLxw6QY5uE VHi3Y/RcveeC0OXNrxMEZFvQ/oZffZ4QQn3i3yhKducWtp2dbC422QGGjRQK7N/xngZu shUKRtuAms60rexyoICpSsBQSjSW+JxquTKeS68DoV6W2D3BcaQ8vEqoHDkQjgnv8l5T kvNA== 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=bd/GYmxSnWpEDUaDammlbdEhr4boXLzos6QsaB8Zkro=; b=JUrYWKxE491DkipRrNSdLmrANIQ1+rDxJTE+Z2NcEOe6Ra/7HEIikve5yLQwLhAw4h RGyk92vlcrGE4WkopLLoW4kSJ5DtHlnFa29rW9F8oM9SkI67fqBifVpsPYNm764aolgE 0J8SlTh+Roeix2G8RB1Fig/oKi4yL4nvbVnQjjIqjVxc4Hj0Ma+syXZaTxIrHf/xgxpt sJb89uyy+FEO697J6KDtLeMa7AbQKZaULa2+X5iwHj9O0XZtKdQaTCQheOsuZbgOl3Jp rII2yO/c8hZKMXWJEpEUlHlryM9jvZNHN1KcTrxJWrCHzesXXGL/0ZC1ywJBYMuV+GP4 3zsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="ql/RSH5U"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 13-20020a630a0d000000b003816043ef70si12986320pgk.357.2022.03.21.15.21.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:21:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="ql/RSH5U"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 1DADF3895D2; Mon, 21 Mar 2022 14:37:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244044AbiCSTfM (ORCPT + 99 others); Sat, 19 Mar 2022 15:35:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235161AbiCSTfK (ORCPT ); Sat, 19 Mar 2022 15:35:10 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0AA41D2514; Sat, 19 Mar 2022 12:33:47 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id v130so21480837ybe.13; Sat, 19 Mar 2022 12:33:47 -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=bd/GYmxSnWpEDUaDammlbdEhr4boXLzos6QsaB8Zkro=; b=ql/RSH5UOtUxSto+/R8XpZM1cH0qzPYK4hFTsOETo5ypzO5z+c35LiY0XDSaiaxCyG uyGtzdFPCK8TbzKZPlnbS5GY2Xn5fhmaXec1BhlOPQyVaNvLGYgQNAZsa2dD5OcB3FC8 UeroReE42PXGnkZgydkluWxOHgWyeW5CWZNPDnNZYfbUUlTHeVTMmvSdtp1gxje8p2Mj jAKxWs9TWI8aiydWhpwgpmu4DEA70qVZ+dSS5GYiuvCsHSOyKRrzKzADVmPJRMDXX50t 19rWfppy7NC88esviymKtCWkr8wTOZpSDR+3/VRsSZbX1bfqkY/Cm7C9NvOKJsbXVqsL pGZA== 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=bd/GYmxSnWpEDUaDammlbdEhr4boXLzos6QsaB8Zkro=; b=x1TjB9DhhhW9aFNjCucXj40mciunMm93fupRVjBIzKmIJUaRHkHUNK+Zj1L17q9zRA /4mpOzZU8VFhhfPtDSL+4H5qVw3PZymVO5UfPCB+jaz9jU5OO8nWpfrU/SWvSGspwMB6 8m2pSsTa/QMtLcYf1WfUzoqtc6qhBXqkEgwyITDjKrsQWX2dMAitGh1mUmgQEsV5KF56 fuMuX9dNQIi18CUpgPjR83YNt9fAKT39igse2B40YkDnh8sqmIeb6e6JjeAss42uKXz1 xafZcukLg0nASjmpWhcICI6HnXIv40ZsE04I2DQtkhxDMJtOkUYay+jF8bfFcDAnEsAI gSnw== X-Gm-Message-State: AOAM530YnVIukkcd27MTcEVM5PyubY40OaoLVqRidr2cpWPKP4Zdt+pn E98MBo/7XU70FVMKYFYXeYLMzQam+kKCUUItI14= X-Received: by 2002:a25:d504:0:b0:633:38b1:1d28 with SMTP id r4-20020a25d504000000b0063338b11d28mr15349978ybe.584.1647718427136; Sat, 19 Mar 2022 12:33:47 -0700 (PDT) MIME-Version: 1.0 References: <20220318070900.2499370-1-ztong0001@gmail.com> <20220319162006.13c60c1f@jic23-huawei> In-Reply-To: <20220319162006.13c60c1f@jic23-huawei> From: Tong Zhang Date: Sat, 19 Mar 2022 12:33:36 -0700 Message-ID: Subject: Re: [PATCH] iio:imu:bmi160: disable regulator in error path To: Jonathan Cameron Cc: Andy Shevchenko , Lars-Peter Clausen , Linus Walleij , Alexandru Ardelean , Jonathan Albrieux , linux-iio@vger.kernel.org, open 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 Thank you, Jonathan and Andy. I will send v2 adding suggested fixes.