Re: [PATCH 4/4] media: au0828 changes to use token devres for tuner access

2014-06-27 Thread Hans Verkuil
Hi Shuah, On 06/25/2014 01:57 AM, Shuah Khan wrote: au0828 is changed to use token devres as a large locking for exclusive access to tuner function. A new tuner_tkn field is added to struct au0828_dev. Tuner token is created from au0828 probe() and destroyed from disconnect(). Two new routines

[PATCH 4/4] media: au0828 changes to use token devres for tuner access

2014-06-24 Thread Shuah Khan
au0828 is changed to use token devres as a large locking for exclusive access to tuner function. A new tuner_tkn field is added to struct au0828_dev. Tuner token is created from au0828 probe() and destroyed from disconnect(). Two new routines au0828_create_token_resources() and au0828_destroy_toke