Re: [PATCH 6/8] staging: media: zoran: fusion all modules

From: LABBE Corentin
Date: Mon Sep 06 2021 - 09:40:36 EST

Le Mon, Sep 06, 2021 at 12:41:32PM +0200, Hans Verkuil a écrit :
> On 03/09/2021 21:15, Corentin Labbe wrote:
> > The zoran driver is split in many modules, but this lead to some
> > problems.
> > One of them is that load order is incorrect when everything is built-in.
> >
> > Having more than one module is useless, so fusion all zoran modules in
> > one.
> After applying this patch I am no longer able to rmmod the module: it will
> always report that it is in use. This is with a Miro DC30.
> So something is wrong with refcounting.
> I do like the idea of merging all these modules, but it needs a bit more
> testing.
> Regards,
> Hans


I am sorry, I was sure to have successfully removed the zoran module a couple of time with my DC10.
Anyway I just acquired a DC30, so I will test it also (even if I believe that model should not change anything).