Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp952474ybv; Sat, 22 Feb 2020 19:23:20 -0800 (PST) X-Google-Smtp-Source: APXvYqwUkrpcTLeQaQ0exHxxII4rEVVZINvVMpwKP1gXC/z5ZafwNgi7SFYA7LArRZ398sH0pdfN X-Received: by 2002:aca:814:: with SMTP id 20mr8200195oii.159.1582428199878; Sat, 22 Feb 2020 19:23:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582428199; cv=none; d=google.com; s=arc-20160816; b=hdPgg5hmXoXAkr7mAtRKKUrLb01xQVR4sfXbHV2HmSZWe7OVqFHCUJ6REi1YISepes ioT/jVTrgn0LQXl8/G28vKE08hNm//3eDqsDPRzAcjNYk/3I2qfcSyuPmUIvhbw4Xua7 q9BEodACUsqYQcUbR6IuKvjHbtq+G30uYl9A+kV83HqpVGb7GUT832d5kxrSBIx8yPAb T/t0xz2daiffLx4IUGa9KO72Sb5zU/PwexgtXPxu+SyLLx9/TfvQoI7KQg4UDdNcgJIm 5NGmoak2awJY7kzD5xxQXqYzOa5d9Imoz8g2YkvGJ2i5y6kk/MIr5uF1dF4uOX0c2pUA gqsA== 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; bh=dT0CO5fK7JyW8ZIyZLXNtY5kJzym374Kxy5Vzfqx9NU=; b=xdf0G2NMoOqRrWcFGn/eggpd82bCzUAQVlSzEjbGm2zDclX2mxBBF6cZPY30/c3sfE R4rP2CuAAJZYP0gIOvniqORIezY+ET5qtAk8H1S61v4VE9O3FZTaWOiUGlOg7QgEYZzc ezv/NKDCvZiGw9vSsSyEESFMeGSeQnEHpDUd6OkV0Vyx+++Gxh9DASILy4mvEC5EQHr0 c8EtIpl/SaYaBPYn3wzwOBcX8vZKV5u1wIh/yhXj3W/sbBXN7kQigT/z0XZgYKvlW814 475H2zXcqA1EL9/vfTM49SnzTKTbclq8R2aROhpHcdg5PYdn7fvbZgFgyKHrTblJjthu zL1Q== ARC-Authentication-Results: i=1; mx.google.com; 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 w2si4211632otq.31.2020.02.22.19.23.06; Sat, 22 Feb 2020 19:23:19 -0800 (PST) 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; 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 S1727197AbgBWDW4 (ORCPT + 99 others); Sat, 22 Feb 2020 22:22:56 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:35811 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727093AbgBWDW4 (ORCPT ); Sat, 22 Feb 2020 22:22:56 -0500 Received: by mail-ed1-f65.google.com with SMTP id c7so7564413edu.2 for ; Sat, 22 Feb 2020 19:22:55 -0800 (PST) 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=dT0CO5fK7JyW8ZIyZLXNtY5kJzym374Kxy5Vzfqx9NU=; b=C1RHXIngEDn+Tve91leRtkbp0bKj4zsJVSQ8IuCo/ncxZR6Z0frBxHIqk6ZVLk3ytp i2ll0jf2OtK8Voi1aADO4X+HixjNiJ1pSZPS9yi+xeeGksDDnI1HHqHuHwhqSMdINq9f a0jyMFrelS9+kGlOh3kb81Ovh3dHJrad+RJYYnc56+j4CMNh1qWnsZLuCVmDjAyk1t3E IoOkDVlh9TqUl8eoFlNa2YhqfIb/Y0tm0GxsFfX66vhxEVWKGeTO+iFOS8e4qbNNHwBC 9xKKrWGevAMFPuqXUk1VTum8TXFwQbswyKCY/tSpvrsxIqpsmu3Jb17GWEmsNqqUOeQV crXw== X-Gm-Message-State: APjAAAVzoSpUw66g2pj4lXci/jZLJvugFlkJWcGekg32FNA7PKRbOjBf SGTBoa2gNJ9iCJXTfwkWRA/W5REgfvs= X-Received: by 2002:a17:906:aac3:: with SMTP id kt3mr22966585ejb.22.1582428173700; Sat, 22 Feb 2020 19:22:53 -0800 (PST) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com. [209.85.221.46]) by smtp.gmail.com with ESMTPSA id u26sm589573ejb.34.2020.02.22.19.22.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 22 Feb 2020 19:22:53 -0800 (PST) Received: by mail-wr1-f46.google.com with SMTP id y11so6361262wrt.6 for ; Sat, 22 Feb 2020 19:22:52 -0800 (PST) X-Received: by 2002:a5d:640d:: with SMTP id z13mr55697508wru.181.1582428172667; Sat, 22 Feb 2020 19:22:52 -0800 (PST) MIME-Version: 1.0 References: <20200222235634.243805-1-megous@megous.com> In-Reply-To: <20200222235634.243805-1-megous@megous.com> From: Chen-Yu Tsai Date: Sun, 23 Feb 2020 11:22:42 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-sunxi] [PATCH] regulator: axp20x: Fix misleading use of negation To: =?UTF-8?Q?Ond=C5=99ej_Jirman?= Cc: linux-sunxi , Liam Girdwood , Mark Brown , "open list:VOLTAGE AND CURRENT REGULATOR FRAMEWORK" 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, Feb 23, 2020 at 7:56 AM Ondrej Jirman wrote: > > It works incidentally, because AXP20X_DCDC2_LDO3_V_RAMP_DCDC2_EN > is non-zero, but the false branch value really should be just 0. > > Signed-off-by: Ondrej Jirman Acked-by: Chen-Yu Tsai