[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <856622a5-c636-4677-a218-12070afe960a@gmx.net>
Date: Tue, 14 Nov 2023 20:32:45 +0100
From: Stefan Wahren <wahrenst@....net>
To: Umang Jain <umang.jain@...asonboard.com>,
linux-media@...r.kernel.org, kernel-list@...pberrypi.com,
linux-kernel@...r.kernel.org, linux-rpi-kernel@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-staging@...ts.linux.dev
Cc: Dave Stevenson <dave.stevenson@...pberrypi.com>,
Kieran Bingham <kieran.bingham@...asonboard.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
"Ricardo B . Marliere" <ricardo@...liere.net>,
Dan Carpenter <error27@...il.com>
Subject: Re: [PATCH v2 02/15] staging: vc04_services: vchiq_arm: Register
vcsm-cma driver
Hi Umang,
Am 09.11.23 um 22:02 schrieb Umang Jain:
> Register the vcsm-cma driver with the vchiq_bus_type.
please squash into patch #1
>
> Signed-off-by: Umang Jain <umang.jain@...asonboard.com>
> ---
> drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
> index 9fb8f657cc78..5a9073480dd3 100644
> --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
> +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
> @@ -70,6 +70,7 @@ struct vchiq_state g_state;
> */
> static struct vchiq_device *bcm2835_audio;
> static struct vchiq_device *bcm2835_camera;
> +static struct vchiq_device *vcsm_cma;
>
> struct vchiq_drvdata {
> const unsigned int cache_line_size;
> @@ -1840,6 +1841,7 @@ static int vchiq_probe(struct platform_device *pdev)
> goto error_exit;
> }
>
> + vcsm_cma = vchiq_device_register(&pdev->dev, "vcsm-cma");
> bcm2835_audio = vchiq_device_register(&pdev->dev, "bcm2835-audio");
> bcm2835_camera = vchiq_device_register(&pdev->dev, "bcm2835-camera");
>
> @@ -1855,6 +1857,7 @@ static void vchiq_remove(struct platform_device *pdev)
> {
> vchiq_device_unregister(bcm2835_audio);
> vchiq_device_unregister(bcm2835_camera);
> + vchiq_device_unregister(vcsm_cma);
> vchiq_debugfs_deinit();
> vchiq_deregister_chrdev();
> }
Powered by blists - more mailing lists