media: tegra_camera: replace workqueue with kthread
authorBryan Wu <pengw@nvidia.com>
Wed, 14 Oct 2015 18:52:57 +0000 (11:52 -0700)
committerMatthew Pedro <mapedro@nvidia.com>
Thu, 29 Oct 2015 17:52:30 +0000 (10:52 -0700)
commitb15d976c0a2e6a3c512001a3be3feaf057655b8b
treef1669c0ab6c34d4ebdb909e882d6a6c22c5c2b09
parente46e60ceb990edf4e28db1685e28847e8dfca4b3
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: Ib236a7ebbdd0359f2705774a979825f1f9e9d82a
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/819176
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
drivers/media/platform/soc_camera/tegra_camera/common.c
drivers/media/platform/soc_camera/tegra_camera/common.h
drivers/media/platform/soc_camera/tegra_camera/vi2.c