Re: [RFC PATCH 3/4] media: Add refcount to keep track of media device registrations

2016-04-05 Thread Mauro Carvalho Chehab
Em Mon, 28 Mar 2016 15:37:43 -0600 Shuah Khan escreveu: > On 03/28/2016 12:28 PM, Mauro Carvalho Chehab wrote: > > Em Fri, 25 Mar 2016 22:38:44 -0600 > > Shuah Khan escreveu: > > > >> Add refcount to keep track of media device registrations

Re: [RFC PATCH 3/4] media: Add refcount to keep track of media device registrations

2016-03-28 Thread Shuah Khan
On 03/28/2016 12:28 PM, Mauro Carvalho Chehab wrote: > Em Fri, 25 Mar 2016 22:38:44 -0600 > Shuah Khan escreveu: > >> Add refcount to keep track of media device registrations to avoid release >> of media device when one of the drivers does unregister when media device >>

Re: [RFC PATCH 3/4] media: Add refcount to keep track of media device registrations

2016-03-28 Thread Mauro Carvalho Chehab
Em Fri, 25 Mar 2016 22:38:44 -0600 Shuah Khan escreveu: > Add refcount to keep track of media device registrations to avoid release > of media device when one of the drivers does unregister when media device > belongs to more than one driver. Also add a new interfaces to

[RFC PATCH 3/4] media: Add refcount to keep track of media device registrations

2016-03-25 Thread Shuah Khan
Add refcount to keep track of media device registrations to avoid release of media device when one of the drivers does unregister when media device belongs to more than one driver. Also add a new interfaces to unregister a media device allocated using Media Device Allocator and a hold register