Re: [PATCH/RFC v2] V4L core cleanups HG tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 25, 2009 at 7:02 PM, Laurent Pinchart
> Thank you very much for the report. Could you please try with the following
> patch applied on top of the v4l-dvb-cleanup tree ?
>
> diff -r 98e3929a1a2d linux/drivers/media/video/au0828/au0828-video.c
> --- a/linux/drivers/media/video/au0828/au0828-video.c   Wed Nov 25 12:55:47 2009 +0100
> +++ b/linux/drivers/media/video/au0828/au0828-video.c   Thu Nov 26 01:02:15 2009 +0100
> @@ -697,10 +697,8 @@
>        dprintk(1, "au0828_release_resources called\n");
>        mutex_lock(&au0828_sysfs_lock);
>
> -       if (dev->vdev) {
> -               list_del(&dev->au0828list);
> +       if (dev->vdev)
>                video_unregister_device(dev->vdev);
> -       }
>        if (dev->vbi_dev)
>                video_unregister_device(dev->vbi_dev);
>
> @@ -1671,7 +1669,6 @@
>        if (retval != 0) {
>                dprintk(1, "unable to register video device (error = %d).\n",
>                        retval);
> -               list_del(&dev->au0828list);
>                video_device_release(dev->vdev);
>                return -ENODEV;
>        }
> @@ -1683,7 +1680,6 @@
>        if (retval != 0) {
>                dprintk(1, "unable to register vbi device (error = %d).\n",
>                        retval);
> -               list_del(&dev->au0828list);
>                video_device_release(dev->vbi_dev);
>                video_device_release(dev->vdev);
>                return -ENODEV;
> diff -r 98e3929a1a2d linux/drivers/media/video/au0828/au0828.h
> --- a/linux/drivers/media/video/au0828/au0828.h Wed Nov 25 12:55:47 2009 +0100
> +++ b/linux/drivers/media/video/au0828/au0828.h Thu Nov 26 01:02:15 2009 +0100
> @@ -192,7 +192,6 @@
>        struct au0828_dvb               dvb;
>
>        /* Analog */
> -       struct list_head au0828list;
>        struct v4l2_device v4l2_dev;
>        int users;
>        unsigned int stream_on:1;       /* Locks streams */

Trying it now....

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux