msm: camera: Add synchronisation mechanism per stream.

A spinlock is shared across streams. This causes problems when two or
more streams are invoked, as the spinlock will be re-initialized.
Fix this by using a per-stream spinlock.

Change-Id: Ic70d588c6c1b09a70ff50eb2ad5f9590f5960f0e
Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
6 files changed