[PATCH 3/7] [media] cx88: hold device lock during sub-driver initialization

2011-05-01 Thread Jonathan Nieder
cx8802_blackbird_probe makes a device node for the mpeg sub-device before it has been added to dev->drvlist. If the device is opened during that time, the open succeeds but request_acquire cannot be called, so the reference count remains zero. Later, when the device is closed, the reference count

[PATCH 3/7] [media] cx88: hold device lock during sub-driver initialization

2011-04-04 Thread Jonathan Nieder
cx8802_blackbird_probe makes a device node for the mpeg sub-device before it has been added to dev->drvlist. If the device is opened during that time, the open succeeds but request_acquire cannot be called, so the reference count remains zero. Later, when the device is closed, the reference count