]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP1: Camera: Fix v4l2 int device detach
authorEduardo Valentin <eduardo.valentin@indt.org.br>
Wed, 21 Nov 2007 22:23:04 +0000 (18:23 -0400)
committerTony Lindgren <tony@atomide.com>
Wed, 28 Nov 2007 02:23:26 +0000 (18:23 -0800)
commit7884528e07533a355d998f83e993dca0ed88b68f
treee07a98e8b1c2fb7d8e54e457d69c4bb60d9d2d59
parenta58dd9950d4b0f8c70129c025849f71992f86326
ARM: OMAP1: Camera: Fix v4l2 int device detach

camera_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 camera_device_register.

Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/media/video/omap/camera_core.c