diff options
author | Chris Rankin <rankincj@yahoo.com> | 2011-09-26 01:43:12 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-26 06:12:35 +0400 |
commit | 778f295080b62cbce1af402e1704566531e01233 (patch) | |
tree | 3ed8deb39ebedd89c9255c3ac6681393526595b1 /drivers/media/video/s5p-tv | |
parent | f055815fd0e4dd22ffd523f0e5117132c0a49e3d (diff) | |
download | linux-778f295080b62cbce1af402e1704566531e01233.tar.xz |
[media] em28xx: replug locking cleanup
Simplifies the locking by moving the em28xx_init_extension() call until
em28xx_usb_probe() has finished with the dev->lock mutex. It therefore
makes the second and subsequent "plugging" events logically identical to
the first "plugging" event when the em28xx-dvb and em28xx-alsa modules
must be loaded (i.e. registered).
Basically, em28xx_usb_probe() requests that em28xx-dvb be loaded and
also triggers udev to initialise the V4L2 devices. These two events are
serialised by the dev->lock mutex but the order that they happen in is
undefined. But this has always been the case anyway.
Signed-off-by: Chris Rankin <rankincj@yahoo.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/s5p-tv')
0 files changed, 0 insertions, 0 deletions