]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (9351): ibmcam: Fix a regression caused by a482f327ff56bc3cf53176a7eb736cea47...
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 23 Oct 2008 12:53:56 +0000 (09:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 11 Nov 2008 10:11:19 +0000 (08:11 -0200)
commita24ddee36ca10a90451552e6620ff7c4ff7e44b5
tree32bf4ccaef6d816a40855e25d9da2b5dab765134
parent69df96c3dad0704301cdbd665636d8184fb314c6
V4L/DVB (9351): ibmcam: Fix a regression caused by a482f327ff56bc3cf53176a7eb736cea47291a1d

As reported by David Ellingsworth:
> I'm not sure if it matters or not, but the ibmcam driver in the
> Mauro's linux-2.6 git tree in the for_linus branch is currently
> broken.

uvd is equal to NULL during most of ibmcam_probe. Due to that, an OOPS is
generated at dev_info. This patch replaces uvd->dev->dev to dev->dev
inside this routine.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Reviewed-by: David Ellingsworth <david@identd.dyndns.org>
drivers/media/video/usbvideo/ibmcam.c