summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSakari Ailus2015-05-20 01:08:05 +0200
committerMauro Carvalho Chehab2015-07-06 13:25:50 +0200
commit5d479386983c5f1bb1aff4f88a027b6143f88a39 (patch)
tree6e52f2e588dd471e0382b7e034cf6fede43b1b06 /kernel
parent[media] media: uapi: vsp1: Use __u32 instead of u32 (diff)
downloadkernel-qcow2-linux-5d479386983c5f1bb1aff4f88a027b6143f88a39.tar.gz
kernel-qcow2-linux-5d479386983c5f1bb1aff4f88a027b6143f88a39.tar.xz
kernel-qcow2-linux-5d479386983c5f1bb1aff4f88a027b6143f88a39.zip
[media] v4l: omap3isp: Fix async notifier registration order
The async notifier was registered before the v4l2_device was registered and before the notifier callbacks were set. This could lead to missing the bound() and complete() callbacks and to attempting to spin_lock() and uninitialised spin lock. Also fix unregistering the async notifier in the case of an error --- the function may not fail anymore after the notifier is registered. Fixes: da7f3843d2c7 ("[media] omap3isp: Add support for the Device Tree") Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Reviewed-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions