Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1239160pxv; Thu, 1 Jul 2021 21:55:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwueP01+7w0b8UwZVr/0oTAqCz5Fmz88hdWN0sfEaDgdJ9kh0qSnB/iyVnghKptHKRWh0qo X-Received: by 2002:aa7:ce17:: with SMTP id d23mr4194608edv.314.1625201704598; Thu, 01 Jul 2021 21:55:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625201704; cv=none; d=google.com; s=arc-20160816; b=c6X5Fj/ZTfn31Dtz7+u6kEjKnnhRLthG/oHfoMPLvF5z3Gw556oGiiWEWHdpDiE6Rc JCiuL/bnHcfGPSl7DUCQ0cytw91E+FZZGNe4mDUzXPaaOYDSbe6tAFNQX6WzzQAgOnh8 6LESVN30MIct98Yl8a/fKNwdvcqZK0XX6LjS6R6i3lh6ARqFn81uHVdhCIs5xBwpKp69 aFvU2YSVYILZLgYQg+ER7J+obBJmERc0eA7Ryd2fbDmcGChIY1hBsm7HHhczESPsFGjA 5pwLUsByeTWUusjuHdtmXFMOHGYC926INRp9F5KFrSMdZbyhk+1DnqT+X2FyS67Mo/oy 2w8w== 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=2xA/EyhzFSdsz2sFUNgzwIXBEHw1bTOcRizpVrKwHnM=; b=xsqfH3pKubWpBz4VaeAxvmjX4g+vfTeDi9ywnScgn7fGU74TVNO7yMo4F9u/7WPQh2 32027Wx9xUlu23wbe/H6bYZ/fsxptvdc2MogJg5cPHNr5SpzGRww+C7Go2dav1mYLctg vBl9z7qJp4/K2GTny1LBP+CJHFPnhMRrutzTuBix8Hg1PJD2eCLq7hWaqnOcfOXh6kM9 waILbbPAKzJD9eQy4x828hN1vGT9iw7ciBPTrR8SGgLWanbYrE56YcbEnUXb+R1Hk8gc EWeXV69LzDd++O34UuwhlNNrZJeCf5j/0/VpKeQ723KO8idcglRB9AAsW/BWNoufPt4b cAKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=dvzH83kd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j3si1916904ejo.404.2021.07.01.21.54.41; Thu, 01 Jul 2021 21:55:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=dvzH83kd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234885AbhGBEzk (ORCPT + 99 others); Fri, 2 Jul 2021 00:55:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230289AbhGBEzh (ORCPT ); Fri, 2 Jul 2021 00:55:37 -0400 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE251C061762 for ; Thu, 1 Jul 2021 21:53:05 -0700 (PDT) Received: by mail-io1-xd31.google.com with SMTP id y76so10208669iof.6 for ; Thu, 01 Jul 2021 21:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2xA/EyhzFSdsz2sFUNgzwIXBEHw1bTOcRizpVrKwHnM=; b=dvzH83kdx5KIUmDVS1w0rMisasSOJ6Ccukbr8vTiM4s/WjHlF/yx/4+Bk9Q6lEJDgR Tkx9f4CuZyje++eY/P5t1ukwyC31q1YCPAk5cCjsy62kuOtRdByvF3GU/AW0vdvHcxEE iewpk/DHrdNe8EBlHHAvfMArsB6CCwwV+wTbjCG4D1wuDbV5Ex3y0Y/aV9T8Y5+XBNCj LAAe6OZwusANIPlvsXl8zUZAnIfzphE2fjbBYX/vbbGG9aOhq/khkgFzjATkg16sTHSL Cp93Fzo3wDmW9KdhbY8xP1EFMYlUqVEdWJKvi2nzyulMAT9WcnQvO6JrFDbzlPZSbQxf e3Xg== 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=2xA/EyhzFSdsz2sFUNgzwIXBEHw1bTOcRizpVrKwHnM=; b=CXQAZQPHpCKLLesKWMmNNZEtbui2/yf/RVAlCp5KfdD2W5/cLg6ZhrnhC7Aa2Lrlr5 J6enZDVzVEAWbjhBg9TpZ7xEO5SoPl7QUjTVBfJu2m0eIfoUt9f9pJzTSvFRj+4R2sZj QKtR9PILafVhWp/cu40YCYaN6P/xeMQ5AlTRwEa9OzAgxIXNKKIsGVs76TEFW+tY/cdg O7mu5yyU4wSOf7iWvfh4j5kSliVJfgORJ3ogPCE45JZnquXJVaQ+9YCrEHANoGnpWDrK FMwVzVa5sf41cVOrCSjE1atTbEcQEgdEQbyqaluafzr4fhwWShuSObSfqOMCFT1/5Z9d A02Q== X-Gm-Message-State: AOAM533E9wLtlLU7nJXUqndZOVLRvhEIhp34CAxyMHFS0riWJ7x6Fci3 w/XO4JAto1kVEmxcg03aG6FRQUielDTKHLJkMcWTiw== X-Received: by 2002:a05:6602:15c5:: with SMTP id f5mr2245918iow.53.1625201585165; Thu, 01 Jul 2021 21:53:05 -0700 (PDT) MIME-Version: 1.0 References: <20210629094339.874120-1-fshao@chromium.org> <20210629094339.874120-2-fshao@chromium.org> In-Reply-To: <20210629094339.874120-2-fshao@chromium.org> From: Tzung-Bi Shih Date: Fri, 2 Jul 2021 12:52:54 +0800 Message-ID: Subject: Re: [PATCH 2/2] mfd: mt6360: Restore error message to regmap_read failure To: Fei Shao Cc: lee.jones@linaro.org, Gene Chen , Matthias Brugger , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 29, 2021 at 5:44 PM Fei Shao wrote: > This adds back a missing error message for better log readability. I have no preference for the patch. When the regmap_read() fails, mt6360 will fail to probe and return the errno anyway.