From patchwork Thu Aug 28 13:14:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 36199 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f198.google.com (mail-ig0-f198.google.com [209.85.213.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9939A20551 for ; Thu, 28 Aug 2014 13:14:43 +0000 (UTC) Received: by mail-ig0-f198.google.com with SMTP id h18sf7901839igc.1 for ; Thu, 28 Aug 2014 06:14:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=DFYrFVDTwbyY85Q9w3Pd7l6qp44u0SrRf40V4+B9ODI=; b=BpSFQ79AoGLTKl4gVKprLwAI74R+nMAuAEVOPU6723VVlPFh4Uvm5gnZity4fYwhge chKRj4OI4/DZhMg/jEUSH07/jeT4LGRNMXGhvtFdY5vZ8ghtTzcnp7BwPosuS5gJImz5 idieGDOAjb8KAo7J8MS2BHkHC14P3KyUSRGyEdpdmcho8zwTLDTKg1923YPCsi1lU6AF d/EWN0p4Ji/k/WFQm4u8u862vKZa/rOtDI4eklzjQ89MGtdJ+oo1XJhjMVmK1bJUyqyw uWkrool+bAD87Q3PZwxDh52sLLkcelKJkwdR8UBc/lQnqpWU/IJtlGZ1qw/pS8hlRmA8 lpDQ== X-Gm-Message-State: ALoCoQks/D0A+LCmiK0lf+xQlAZsHBRryd6rzCuhVT5AuMtXYlzuGmQEDJMwpm91I6XCL/IcaQKF X-Received: by 10.182.91.97 with SMTP id cd1mr2109005obb.33.1409231683159; Thu, 28 Aug 2014 06:14:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.47 with SMTP id w44ls579460qgw.95.gmail; Thu, 28 Aug 2014 06:14:43 -0700 (PDT) X-Received: by 10.52.137.51 with SMTP id qf19mr119833vdb.97.1409231683060; Thu, 28 Aug 2014 06:14:43 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id u19si3358148vcr.36.2014.08.28.06.14.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Aug 2014 06:14:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id hy4so750418vcb.19 for ; Thu, 28 Aug 2014 06:14:43 -0700 (PDT) X-Received: by 10.52.129.200 with SMTP id ny8mr2442951vdb.27.1409231682987; Thu, 28 Aug 2014 06:14:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp234655vcb; Thu, 28 Aug 2014 06:14:42 -0700 (PDT) X-Received: by 10.43.101.199 with SMTP id db7mr978455icc.95.1409231681526; Thu, 28 Aug 2014 06:14:41 -0700 (PDT) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by mx.google.com with ESMTPS id r4si3998032ici.105.2014.08.28.06.14.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Aug 2014 06:14:41 -0700 (PDT) Received-SPF: pass (google.com: domain of lee.jones@linaro.org designates 209.85.223.174 as permitted sender) client-ip=209.85.223.174; Received: by mail-ie0-f174.google.com with SMTP id at20so875040iec.5 for ; Thu, 28 Aug 2014 06:14:41 -0700 (PDT) X-Received: by 10.50.103.106 with SMTP id fv10mr3300156igb.40.1409231681238; Thu, 28 Aug 2014 06:14:41 -0700 (PDT) Received: from localhost.localdomain (host86-152-0-170.range86-152.btcentralplus.com. [86.152.0.170]) by mx.google.com with ESMTPSA id w8sm16633672igl.13.2014.08.28.06.14.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Aug 2014 06:14:40 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Lee Jones Subject: [PATCH 07/11] mfd: wm5102: Insert missing break in case statement Date: Thu, 28 Aug 2014 14:14:13 +0100 Message-Id: <1409231657-18294-7-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1409231657-18294-1-git-send-email-lee.jones@linaro.org> References: <1409231657-18294-1-git-send-email-lee.jones@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Chip identifier wm5102_reva_patch is always overwritten with wm5102_revb_patch, even when the code is run on a Rev-A chip. Place in the missing break to force the code into doing something sensible instead. Signed-off-by: Lee Jones --- drivers/mfd/wm5102-tables.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c index fb4d4bb..a219888 100644 --- a/drivers/mfd/wm5102-tables.c +++ b/drivers/mfd/wm5102-tables.c @@ -87,6 +87,7 @@ int wm5102_patch(struct arizona *arizona) case 0: wm5102_patch = wm5102_reva_patch; patch_size = ARRAY_SIZE(wm5102_reva_patch); + break; default: wm5102_patch = wm5102_revb_patch; patch_size = ARRAY_SIZE(wm5102_revb_patch);