Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp387074imm; Fri, 10 Aug 2018 13:08:43 -0700 (PDT) X-Google-Smtp-Source: AA+uWPw3IpP6rqmfA6aulizRB6AxqNTsDhoSobF1Pzqw3umj1GM1QCRj+cwo6B+C94d1qJxga+F3 X-Received: by 2002:a62:2119:: with SMTP id h25-v6mr8314607pfh.112.1533931722963; Fri, 10 Aug 2018 13:08:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533931722; cv=none; d=google.com; s=arc-20160816; b=kmnLtpEXsDx1DQB6Gzy2jX7R+f0d5ZSdx5t5HvHH35k8XayTHansNYT14yxKMxHV5b +RDwlOb/RM2Kv3XLLLNk+CgcD4nTXq0dfjU2R24nhq0D1HAJxM1jprDBJ1iQMUUIP1gy WrzZ8nCsR3/2u6S/fPjoEoHQvuZsNJ1+rUu7KIM3mpKWW2Lf/PYWk8F7HkGb0gi1ETBz ZltIAiPDgK3P72rpSsN3dbt0NHKa8a5IDyjGH73bDWrRFodAX22DcgrcReZLkOqvWYgY XX+LFSIviXXNhT3VNobkeRu6AFxWgnslM8nJ4ZLzsjV/ro61PICmgr48fzNl3L1N238T RYGw== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=jdNgFSaH8z8E8xyy4W9So0XahVKzGksztTByXt+jG4M=; b=txINS3v7goRfNJSzdXswTkWxmr+z2Xk+KMbPJZ3mYp4rIhVPdhs2d0QvArBGqEtkNF 5VQ9eJ8NymCfJrSh0MUGJSwoE1e0glA1/wDEWRi5ddQXBkcoY+t48861MuFhI4vgvZA5 VKofhndePHu+3sKQUybeJFzL5qqHyKq9M1l3zklBTfhIDg7b4ldO3IBsoZb4AXwVVqjA 1xaMtqwk7xF3PEaP6DOsREB2uomke0iCenG3CbH6pSfUFoLFo7f5szKOWY05jD7MikC5 OhqNm1WK0YpXHEPWJCBB1Pt2Pieg8TM2CW1THBh0KQyb1V+Dgspp6aYAq3rDVX6VzUzz sXMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ltzSGBME; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h12-v6si11644191pfk.156.2018.08.10.13.08.27; Fri, 10 Aug 2018 13:08:42 -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=@chromium.org header.s=google header.b=ltzSGBME; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727351AbeHJWii (ORCPT + 99 others); Fri, 10 Aug 2018 18:38:38 -0400 Received: from mail-ua1-f68.google.com ([209.85.222.68]:35778 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727249AbeHJWih (ORCPT ); Fri, 10 Aug 2018 18:38:37 -0400 Received: by mail-ua1-f68.google.com with SMTP id q12-v6so3162952ual.2 for ; Fri, 10 Aug 2018 13:07:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jdNgFSaH8z8E8xyy4W9So0XahVKzGksztTByXt+jG4M=; b=ltzSGBMEgS+nQ0sMrrdCRUNZBzHXg/aeIuCIUY87djJagKtdO2JpdL0IijGgqXj2Z4 ZqVow78ncWpf9oqITivK7ZRqL2hM7crQFelEZehabBUW87WlPBbqSKj5BnbhSJm8rRlX zVmLxv7JHQ4w9OG6CVfmFAZ4Z/rTJssMi8q2c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jdNgFSaH8z8E8xyy4W9So0XahVKzGksztTByXt+jG4M=; b=cGfjYxocM1PatLeDU/YNpB3TvtgN3Gsyz5mogqLeFG0X4icHNRJ+AiJ+2DkhKu6JoI 51vShsJwR5GlIi36cmm+bfF30dPXvJmG+ArSMtEF8HWlKn1clvYrwEDExwxTTavmml3v ZAbkjmE1ZqULDaabo350p8p9SeR1KQAEWhOU/P0k+VVJcpyfo4IRGQlCgVEBQfjqQ8hW a91/TK1qgmE0TZJvzQ7aDyCBz79FNU3KhDy6pprz98SaqoeALEooOga+G84BReXWRi5P pvg7sYTXf+cp5dZM7uoqvcSwzK6u5q/eAx1XkBiOkKDMvTB/pg5j/s/U94HSg2U2ty3T U7sA== X-Gm-Message-State: AOUpUlGiJUtn0xG1QTbIhW/Mw0YJM0wZyG8NYWia8QyujtJsdbJVMl2Q +QsO+SG27PtTiaMCg2gaslZ9UWU/lTI= X-Received: by 2002:a1f:61c5:: with SMTP id v188-v6mr4980683vkb.19.1533931636957; Fri, 10 Aug 2018 13:07:16 -0700 (PDT) Received: from mail-ua1-f50.google.com (mail-ua1-f50.google.com. [209.85.222.50]) by smtp.gmail.com with ESMTPSA id m143-v6sm3002522vke.23.2018.08.10.13.07.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Aug 2018 13:07:16 -0700 (PDT) Received: by mail-ua1-f50.google.com with SMTP id i4-v6so3162955uak.0 for ; Fri, 10 Aug 2018 13:07:15 -0700 (PDT) X-Received: by 2002:a1f:9d16:: with SMTP id g22-v6mr4986357vke.5.1533931635475; Fri, 10 Aug 2018 13:07:15 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1f:cd5:0:0:0:0:0 with HTTP; Fri, 10 Aug 2018 13:07:14 -0700 (PDT) In-Reply-To: <20180810162920.GG20971@sirena.org.uk> References: <20180810162920.GG20971@sirena.org.uk> From: Doug Anderson Date: Fri, 10 Aug 2018 13:07:14 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v9 2/2] regulator: add QCOM RPMh regulator driver To: Mark Brown Cc: David Collins , Liam Girdwood , Rob Herring , Mark Rutland , linux-arm-msm , Linux ARM , devicetree@vger.kernel.org, LKML , Rajendra Nayak , Stephen Boyd , Matthias Kaehlcke 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 Hi, On Fri, Aug 10, 2018 at 9:29 AM, Mark Brown wrote: > On Fri, Jul 13, 2018 at 06:50:59PM -0700, David Collins wrote: > >> + switch (rpmh_mode) { > >> + default: >> + mode = REGULATOR_MODE_INVALID; >> + } > > I'm not sure why the break statements are being omitted in default > cases, but I do find myself stopping and trying to figure it out? Hopefully addresses this? Thanks! -Doug