V4L/DVB (4663): Pvrusb2: Get rid of private global context array brain damage
authorMike Isely <isely@pobox.com>
Sun, 24 Sep 2006 01:30:50 +0000 (22:30 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 3 Oct 2006 18:13:38 +0000 (15:13 -0300)
commit759100531d76f36714dde0f05a09245e9e921e4c
tree453877480d05adcab9b2f49c3a5511878aef13fe
parent32ffa9ae03c529df4208b63b4b17c6d84141faa3
V4L/DVB (4663): Pvrusb2: Get rid of private global context array brain damage

A previous attempt to deal with the upcoming loss of
video_set_drvdata() and video_get_drvdata() resulted in logic which
causes a circular locking dependency - also known as a deadlock.  This
changeset attacks the problem in a different manner, using a technique
that no longer requires the problematic mutex (or that private global
array either).

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-v4l2.c