]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP2: Camera: Fix v4l2 int device detach
authorSakari Ailus <sakari.ailus@nokia.com>
Tue, 16 Oct 2007 15:08:28 +0000 (18:08 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 31 Oct 2007 12:49:07 +0000 (05:49 -0700)
commitc189170e1c76285273ed5937fe4503ebdcbfe30c
treeb01aa5b726c0136eeac2fb09de8242fd8a78a85a
parented351ee74351d53859d47983fad7f1b29265554e
ARM: OMAP2: Camera: Fix v4l2 int device detach

omap24xxcam_device_unregister expected the argument to be its own
device structure but it's actually that of its slave.

Also get master from slave's structure in omap24xxcam_device_register.

Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/media/video/omap24xxcam.c