V4L/DVB (10945): pwc : fix LED and power setup for first open
authorMartin Fuzzey <mfuzzey@gmail.com>
Mon, 9 Mar 2009 23:16:00 +0000 (20:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:18 +0000 (12:43 -0300)
commit5c8e2403ba06d39f04f6ae62f3afe5542e0eb533
tree5c07753899845ff5d0420363dd6eb2778ed3a776
parent76ecf4599e55fd16bdb333a737c6243105c916e6
V4L/DVB (10945): pwc : fix LED and power setup for first open

Call pwc_construct before trying to talk to device to obtain vc interface so
that LED and power setup works the first time the video device is opened.

Signed-off-by: Martin Fuzzey <mfuzzey@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pwc/pwc-if.c