From patchwork Thu Oct 25 15:29:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10656053 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 37B7F13A9 for ; Thu, 25 Oct 2018 15:33:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 269B82BD91 for ; Thu, 25 Oct 2018 15:33:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1AF7F2BD81; Thu, 25 Oct 2018 15:33:10 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 C3DFF2BD71 for ; Thu, 25 Oct 2018 15:33:09 +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: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:In-Reply-To: References:List-Owner; bh=f6yxcB+K61AE1rT45YvWPeO7clt8dRcjMSVe56G4J6U=; b=moT 8zJhqgjuI9Rlqag/0B6/ttBlvSByCMVkJUoP0i8ayoVpNJPQAqVkhq6oYrMvl/E+wOCPD0GjHBLfE 513L7+Vv5k7D0xL/9Q2Y6G034G8/uPDNfgp8LRGOJwuLThhtxO9EYwUvrxbuuaqC8gEg+3DsA2qVw fSKfGTqRUM82kCH3vkPIwEhR+kbml+LfoOBHe6dhpP9zgpIwsTIXQX+Lp1rWlfaPshQU8sfoG3TOD e2jdkK2ktXNtIfdcSqXOcuaYHGFW+bziIAHlDhWRcgo10DQ9PZWOMTLIbExPxnLW27j1Ulq0s/wfp PnD9/ju8993RV84qqIxoJMAJmGgfZ2w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gFhd9-0001ZL-DN; Thu, 25 Oct 2018 15:33:03 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gFhae-0000Jc-PO; Thu, 25 Oct 2018 15:30:35 +0000 Received: from localhost.localdomain ([37.4.249.153]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M7aqD-1gEM8B0ZZN-0084mn; Thu, 25 Oct 2018 17:30:06 +0200 Received: from localhost.localdomain ([37.4.249.153]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M7aqD-1gEM8B0ZZN-0084mn; Thu, 25 Oct 2018 17:30:06 +0200 From: Stefan Wahren To: Eric Anholt , gregkh@linuxfoundation.org, Dave Stevenson Subject: [PATCH RFC 00/11] staging: vc04_services: Improve driver load/unload Date: Thu, 25 Oct 2018 17:29:24 +0200 Message-Id: <1540481375-15952-1-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 X-Provags-ID: V03:K1:41F11c8ellQJ1XMBHtckEfi94hNg0xt3hRqnaprQEnj4X7Z0asa ChFunXgJJsL8/Q5i+lOuHFXMKriWagDxLAAkl58EpZpLTwCJoXG7ttXaZTa16LwnoDysbgY RviwDPmSxrllqghOcpyab/bh/Hy27uRIW+3NoDzTJKYCXRbBJlVg2CMACxvMUfhAuh71Lzf QTQoiBAsCEHhsWYyv84jQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:g2+wGoH3a7o=:i00JwRZHBMgklXJZfAMcDc MYxRBfqibdAUj5p6azZ55Vb4eD9mrbTzvybbWJ72IWuBrlt9ZCr/olmjmqSCVCZVpJvtLuuDL BZrhYuGI4z9FlmwTp+6Cntv5r6xTQq/SSkjhJfkoV2d5q8ryJNva8YhXuIIVzbxv5pfpHLw3d UnsbNGM+EqfD04iKc+ISKi27nkCIl+hulwT0b/E8GcF2qdQh8ekLyVVlydQ9LsyjOaH1ZxR13 1JLuS5dsBTrwYasxBsWQc3aO0NOwhMujIJqCCV+f7KJ8GeHdAEeVrH4owBhxhvuYYZqSuz6Y9 s5iJArSi37B4kXQpJ6E35RjqXCf5+pmv4wu/b7ygoFJoxMHpWjFg+itZsjRApbYskZIPjWZXM RnI6K96+y1ACSDukuIMKxBmXGEq37leZkg6R0Q0JasoQyOlYHQgxoBs8ZxlAnJHvewzzUCIfZ 5GihSMrTXKjC+GefIh9nd6Msg/tNeKhpEGdbh+AEztiF3fraimEJ2W7aaZPJyMtUhfsTQxF6N +06oLvcdDoGSKXcjP1DPRCwBYpycuHNNGOhUgnglVCuQM81ytMbAHCeTAlcR0zHXsRc9PUWPm G/svRz/DWdfY95mWHL+cmeiWMGgxHI+HP+dC+hLSvLAcbtM+sp3MMaQZyyJfduYXfjcvHvcAs Zjk2kajfF4Z5Zu5oHjFdowXrui2EgBWMDx2T7FVKYkqhB9MaF/q5P2b5gDjBL4fwF/08= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181025_083029_176685_657E8A3B X-CRM114-Status: UNSURE ( 9.47 ) X-CRM114-Notice: Please train this message. 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: devel@driverdev.osuosl.org, Stefan Wahren , linux-arm-kernel@lists.infradead.org, tiwai@suse.de, mikebrady@eircom.net, pbrobinson@gmail.com, nsaenzjulienne@suse.de, linux-rpi-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 This patch series improves the load/unload of bcm2835 camera and audio drivers. It has been tested with Raspberry Pi 3 B and a camera module V1. This series based on current linux-next and Phil Elwell's series ("Improve VCHIQ cache line size handling"). After Nicolas' series ("staging: vc04_services: Some dead code removal") has been applied, i will rebase my series. Stefan Wahren (11): staging: bcm2835-camera: Abort probe if there is no camera staging: bcm2835-camera: fix module autoloading staging: bcm2835-camera: Move module info to the end staging: vchiq_arm: Fix platform device unregistration staging: vchiq_arm: Fix camera device registration staging: vchiq_arm: Register a platform device for audio staging: bcm2835-audio: Enable compile test staging: bcm2835-audio: use module_platform_driver() macro staging: bcm2835-audio: Drop DT dependency staging: bcm2835-camera: Provide more specific probe error messages staging: bcm2835-camera: Add hint about possible faulty config .../staging/vc04_services/bcm2835-audio/Kconfig | 2 +- .../staging/vc04_services/bcm2835-audio/bcm2835.c | 61 ++++++----------- .../vc04_services/bcm2835-camera/bcm2835-camera.c | 78 +++++++++++++++------- .../vc04_services/bcm2835-camera/mmal-vchiq.c | 5 +- .../vc04_services/interface/vchiq_arm/vchiq_arm.c | 27 ++++++-- 5 files changed, 102 insertions(+), 71 deletions(-) Reviewed-by: Nicolas Saenz Julienne