From patchwork Wed Feb 22 14:13:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9586899 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 42ACF602A7 for ; Wed, 22 Feb 2017 14:15:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F6D8286A1 for ; Wed, 22 Feb 2017 14:15:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 334DE286AB; Wed, 22 Feb 2017 14:15:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E36A5286A1 for ; Wed, 22 Feb 2017 14:15:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Vt70OVP+21k3RKoUmKCvjZ51sXrKdxTQ73ShXorIX4w=; b=tbTy7tF6PkC1H2FK8fH+oajuCg 7QTsRGZoBrxNdis19BqAl4tX1hSlzgVTjkOF+/RI+vz5ZSPyhAaS7w9ah6iEvlzv+je5L7YkZ0BLF O+n5jRPxI4RLRo1H8jo+URiWMFYpaLGm3Gj5nhOoouYU1KPduHzzejTXgliRR4Axux9f0GZml2X/R 2ykkmx2083aNQyS43crNJ2xsbsGNQMPi+w+rAFTTkTIa5tYo8yjPCepGjloxa0VV/GIHDJA7VFoNq 3AHGVnCoonusCRmEzX6vAeQcsG+2BVkj4uw+iUl6+XV00f+9g9WvY00bHwEBxEG/T30ic2hr2chTg ealAGkUg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cgXh7-0001EZ-8F; Wed, 22 Feb 2017 14:15:01 +0000 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cgXg4-0000oe-5X for linux-arm-kernel@lists.infradead.org; Wed, 22 Feb 2017 14:13:58 +0000 Received: by mail-wm0-x229.google.com with SMTP id v186so141662363wmd.0 for ; Wed, 22 Feb 2017 06:13:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xW80H39cjmYxCovRKkoPVxqm+3CF+/uxTIej9n8pyF8=; b=0WQc4n3BeVDKLOLc7OcPdoRJD/f3IhbMfc2JWD6CGmRH38A0bHgJ5netrqHvjSxHLI 187KaxHLU7J0KJf6aiF6kpJ6kB/5KPwMQ8xFiqdhBfyvWzjPuKYhjRFDbt9FDTFGOzqq +Pg15Ir/m4rU7HIG3xW1cOaTDr3Osy+1kgkDyOU4t/C6yUl+lTdGAsMs87vE6CEiRG+l iAiOWbZL1+rukmCW/gFAx60PiiKdNHw8ztaXRN9uAb/vlHF48Zg+/69omPOf4u5hFF3K e+HQiq0Y0pJ+zcqXpnWrKPbGC2Emn0gcHl13g9lGWbwMTO7EVlzyb8aiaW0kqv2/Yqrc qVYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xW80H39cjmYxCovRKkoPVxqm+3CF+/uxTIej9n8pyF8=; b=H0c65cxpa3K3m22AAa4oOCu1R8PKjE1HAxb78dwMgIGBYuDogjsSMs9rCVv4r1spWh tjW31KFoNJMzAbgjukSbBI4kbBZmc2jSdHkHBEa1Bdk2cP8uBB3hH3lKKKq23+q+tV+X 4SY7B5sUSpWfCYtRTLG5fV02+8cT6WaA5Fu5yeD4PSWJ1UBSrdd3cau6f7chj2j0Ond1 QNKSIET6xO0rZ3EEszmzEv4OK0dHmii9E7D1BMKlDMhsfoyxsn+wqb7o3d5hOkdd36RX I7Am+0O7C6Ik1FXXxWu5bQzrXbDF2IcUC38qZVFjPnZYHC3kO5H0cFLLRjKsEmUmzfmC WDiw== X-Gm-Message-State: AMke39mUiq5zqaq3dbNyxsvB1BKryfQLlQsQ7R4Xc/G81xfefeQJR0ZZlGDGnY7HXpsE/Zpf X-Received: by 10.28.109.218 with SMTP id b87mr2660048wmi.52.1487772814429; Wed, 22 Feb 2017 06:13:34 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id f50sm1889573wrf.69.2017.02.22.06.13.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Feb 2017 06:13:33 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , David Lechner , Kevin Hilman , Michael Turquette , Patrick Titiano , Laurent Pinchart , Russell King Subject: [PATCH v3 1/6] ARM: davinci: da8xx: allow having multiple pdata-quirks Date: Wed, 22 Feb 2017 15:13:20 +0100 Message-Id: <1487772805-19021-2-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1487772805-19021-1-git-send-email-bgolaszewski@baylibre.com> References: <1487772805-19021-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170222_061356_441406_7E9E79A2 X-CRM114-Status: GOOD ( 10.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP We currently bail-out after applying a single quirk. We will want to reuse the function doing the vpif capture registration so remove the break; and continue iterating over the quirk array. Signed-off-by: Bartosz Golaszewski Reviewed-by: Kevin Hilman --- arch/arm/mach-davinci/pdata-quirks.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-davinci/pdata-quirks.c b/arch/arm/mach-davinci/pdata-quirks.c index 5b57da4..36fb217 100644 --- a/arch/arm/mach-davinci/pdata-quirks.c +++ b/arch/arm/mach-davinci/pdata-quirks.c @@ -23,7 +23,6 @@ static void pdata_quirks_check(struct pdata_init *quirks) if (of_machine_is_compatible(quirks->compatible)) { if (quirks->fn) quirks->fn(); - break; } quirks++; }