Messages in this thread |  | | | Date | Sun, 8 Jun 2008 13:01:06 +0200 | | From | Marcin Slusarz <> | | Subject | Re: [RFC PATCH] v4l: saa7134: fix multiple clients access (and oops) | |
On Sun, Jun 08, 2008 at 07:32:55AM -0300, Mauro Carvalho Chehab wrote:
> On Sun, 8 Jun 2008 08:31:07 +0200
> Marcin Slusarz <marcin.slusarz@gmail.com> wrote:
>
> > On Sun, Jun 08, 2008 at 12:48:35AM +0200, Marcin Slusarz wrote:
> > > (...)
> >
> > This patch is stupid. Please ignore.
>
> Patch ignored. Yet, it seemed ok to my eyes. We shouldn't stop/deallocate
> resources if there is still someone using the module.
But when there's at least one user, dev->empress_users will be bigger than 0,
so second call to ts_open will return -EBUSY.
And it lead to conclusion, that there's only one possible user...
Marcin
|  |