From patchwork Thu Dec 22 19:14:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13080244 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 501FFC4332F for ; Thu, 22 Dec 2022 19:15:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230471AbiLVTPT (ORCPT ); Thu, 22 Dec 2022 14:15:19 -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 Precedence: bulk List-ID: X-Mailing-List: linux-media@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(-)