]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
media: tegra_camera: replace workqueue with kthread
authorBryan Wu <pengw@nvidia.com>
Wed, 28 Oct 2015 00:48:32 +0000 (17:48 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 5 Nov 2015 16:11:26 +0000 (08:11 -0800)
commitbcde33af71466c5ea96c192499560613081682c0
tree9809340ffd82b1725dea870e64edfe966324f34c
parentbd437ef036dbc25bed052dd8dd20fee7c2d7dd7d
media: tegra_camera: replace workqueue with kthread

Use kthread instead of workqueue, which will create a dedicated kernel
thread for capture.

Remove useless mutex and convert spin_lock_irq() to normal spin_lock().

Bug 1686911

Change-Id: Ie90320ccff9b46a53719bf8924afe38b24dda64c
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/824953
(cherry picked from commit d184f7a5ad79419a169c01e453af2c5ac41b5865)
Reviewed-on: http://git-master/r/824964
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
drivers/media/platform/soc_camera/tegra_camera/vi2.c