Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp579177rwj; Thu, 22 Dec 2022 11:33:31 -0800 (PST) X-Google-Smtp-Source: AMrXdXtL7qUz00bPM4rYgMGpObZ5vaBXfeExuMWZdWjs5RE+Ivos8Dt3WsG1a2+HxTRb1nJ2h4Yy X-Received: by 2002:a17:90a:f309:b0:219:9e19:8259 with SMTP id ca9-20020a17090af30900b002199e198259mr7476892pjb.46.1671737611587; Thu, 22 Dec 2022 11:33:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671737611; cv=none; d=google.com; s=arc-20160816; b=pPZZeBV0jQ4m9Hht/Um6sn/6uwXBlOXWuEPassybJqhvxw0hAiBpqT1QOUnMnDE1Rp KNu06kv/uevs+YeE6SslVqgCVPcPmCJpIm1SSZIVs1e8miDxRPwTpY4K57BxYlN9njEl vsKkBDBq5lD+tebK0JMnsrxL1ZkgpWkrQqCE1GA5ZP9fCoJgexcfducx8DWNwNUEbP2f HUXgL5qPtXulKIJoYJVX0yMP35P1ZTwtd+VKTcB4v6ayG8nIsqT16pGIUJVO98nORZHz DKAZMLbGH6beW8PPEav9ATnpwHJjjWQCNmmhTf9lQ/U5mZK6hahPiC242NreEok6ESZY my/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=NfNIGs82Lum7QZ9kjkNH1Ejtf47dgxlmC+FfX29wdO4=; b=hmFvFKiXdgaovOH10+K/eEh0l8GoBd/V5MJcq7WcmvA55oM3kytlMZHvqdockcTnOA 6tbtfghXguvilqexwB6uZ/W9CsH4pOkbQmgfyCe8PAeJv1zdOhLAmVhv+++1l1ECxKAv 64lHer3z7hbAeam4ZHfBbFtiq6zWwTpbrJRTQ2HGX2DGAlGRWPhf8E6L8iHtMy3oAZIM ZDlIQWzC/+0M9yYme3yVgh8Fj6kDDTXS8XQH2AwBEiHFndHNUUZrfrDibCQnYJ0FbpI7 l7ITnD38mIOTdQbfHcq9FjSHQv4hKA96Fb/YYvN/fTVOu//35ronVzKcItP71bEQli+J Uh8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=WLz96d20; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot1-20020a17090b3b4100b0021f249ab6acsi5412864pjb.139.2022.12.22.11.33.22; Thu, 22 Dec 2022 11:33:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=WLz96d20; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235039AbiLVTPV (ORCPT + 68 others); Thu, 22 Dec 2022 14:15:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229843AbiLVTPR (ORCPT ); Thu, 22 Dec 2022 14:15:17 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31CE327CD8; Thu, 22 Dec 2022 11:15:15 -0800 (PST) Received: from umang.jainideasonboard.com (unknown [IPv6:2401:4900:1f3f:d076:4da6:b729:f032:ed0a]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 1C1F7471; Thu, 22 Dec 2022 20:15:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1671736512; bh=YxPVSern8c6BOEbRmDUoR5qKPKTaeKpaIusaimppST4=; h=From:To:Cc:Subject:Date:From; b=WLz96d20tboBXh4/SZ/mHDETiyar8Zei97l2GZiDWT7ud/bfHm0LqXhECgTmRGMUH HITUHkf9W54ihP0lIBKDgsVM9aPgTJVu65qxQqPb9n83lJDgJmQpMSu3KqOttrFl3k VdAQ5qRiJDzYFoCRGzk0E7pIK9OfljNF6YEHWaCA= From: Umang Jain To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Cc: Greg Kroah-Hartman , Adrien Thierry , Stefan Wahren , Florian Fainelli , Dan Carpenter , Nicolas Saenz Julienne , Phil Elwell , Dave Stevenson , Kieran Bingham , Laurent Pinchart , Umang Jain Subject: [PATCH v2 0/4] staging: vchiq: Rework child platform device (un)register Date: Fri, 23 Dec 2022 00:44:56 +0530 Message-Id: <20221222191500.515795-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org V2 series for addressing the TODO item: "Get rid of all non essential global structures and create a proper per device structure" This series: - Fixes a platform device leak (1/4) - Simplifies vchiq_register_child (2/4 and 3/4) - drops global references for child platform devices and prepares for addition of new child devices in future (4/4) v1: https://lore.kernel.org/all/20221220084404.19280-1-umang.jain@ideasonboard.com/ Umang Jain (4): staging: vc04_services: Stop leaking platform device on error path staging: vchiq: Do not assign default dma_mask explicitly staging: vchiq: Simplify platform devices registration staging: vchiq: Rework child platform device (un)register .../interface/vchiq_arm/vchiq_arm.c | 40 ++++++++++--------- 1 file changed, 21 insertions(+), 19 deletions(-) -- 2.38.1