From patchwork Tue Feb 21 15:49:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9584933 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 5A3D6600CA for ; Tue, 21 Feb 2017 15:52:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3FA6D26E5D for ; Tue, 21 Feb 2017 15:52:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 30FB22838E; Tue, 21 Feb 2017 15:52:02 +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 A2A6126E5D for ; Tue, 21 Feb 2017 15:52:01 +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=V+k7O0MI2L1HtmXBUd+QPteZ/Q Iyggg/trFV7HrJV+WSaJ7tP2s861XUELJJZhZPkxcAZmfN4xPNcitqGyjMzkxGwNyn7zF2h6StwmZ stXt2tlvaL2qO8Lc53RzciVQGytkuGFBD0mcG6m+v/Tjq/U8OWQGV11Ey9j5qprKPZB9ZJuB/klHS fCjiW76zk/0bm/tR37CtGaUSR8CDLdHOf8yt9j1CNW4w+Yi/P9UCkHWZdMsKXcB2E77NXKRIfNT+S H/nFqUjbEUdOyFKmMUwG4l/Nxo9bs0RNcUSoihqfyQMsRCrLCBp4Vjx/p9TMWNk82WcM+5zxf0El6 JUs+HQjQ==; 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 1cgCjP-0001UB-Pp; Tue, 21 Feb 2017 15:51:59 +0000 Received: from mail-wr0-x235.google.com ([2a00:1450:400c:c0c::235]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cgCht-0007x0-K2 for linux-arm-kernel@lists.infradead.org; Tue, 21 Feb 2017 15:50:31 +0000 Received: by mail-wr0-x235.google.com with SMTP id z61so84510279wrc.1 for ; Tue, 21 Feb 2017 07:50:05 -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=z9bmshG+4cgO3KQ4sLUyU6ToJqKqzlqtOvYcalyphAnLDSwin4a+Ly5viLuA+pVAQy MxX+8rCJd/UNrBCw0DHI2Gbtubf1jVsAHc7SeYVnQ/S39lYzxaEMoyufme1JAAMk+cFd PtUjYviNU3jvHfv311DAezAb5IWgr6ejrRyk5YzlxShdRVDg+F2nnXfyXs14+dt4v2W6 Uyo2VUVqI3ztbqsqZHoX7YgTMn5wOukdyjW8BDqRyVYF+3MWx3Mv1Nu3qs9yBMqVSQ3s sa3ldHanPvRKmCkj0X9oa1HWSfJtX1yXglaNeseQ5bbc+H+Cn5KUzM1UYOrDZpdXPlHt tKMA== 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=lqM7BuIngHvOQyHxhaPYl9bAjYrb/UIDofaqtS1BgAZ0qpthIw4NgPA3wfALiOhQAG ar4x8rmY8+Dw3t+DxSpy3gU7WSiJeTTgsMpAdmbd7xzCx2l8Yk0l922skjgg2fhVe0Qk p4dgO+qMoBOriEKm3+GZsruLhPvC1+WO1HKUuRkTvhFZENPhZ7srB+l6Bt7ZUCuPdLZm gdpgmow0u8jlfKaM+Ya8VrvH70HZVdHap1f2bDwehFaH3u+bD9aXXmb3x3FiB5ehYIQ5 26avSQ4Ic7SwS9yGT4EnCzO6NCX2EKhbd1NJQBq83vZxDNDbmVT7VWAA17p9Ra1TjZGy hSwg== X-Gm-Message-State: AMke39nDgkiV43bcDuz89kJTIU6DS5VlqucgV4ptFj89CSB6rxvLttih4Kz1embmZojZsyHI X-Received: by 10.223.164.211 with SMTP id h19mr8122484wrb.75.1487692203722; Tue, 21 Feb 2017 07:50:03 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 8sm19246179wmg.1.2017.02.21.07.50.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Feb 2017 07:50:03 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , David Lechner , Kevin Hilman , Michael Turquette , Patrick Titiano , Laurent Pinchart , Russell King Subject: [PATCH v2 1/5] ARM: davinci: da8xx: allow having multiple pdata-quirks Date: Tue, 21 Feb 2017 16:49:28 +0100 Message-Id: <1487692172-11772-2-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1487692172-11772-1-git-send-email-bgolaszewski@baylibre.com> References: <1487692172-11772-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170221_075026_437166_EBF5D66F X-CRM114-Status: GOOD ( 10.51 ) 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 --- 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++; }