msm:camera: Bus overflow recovery mechanism
Add bus overflow recovery mechanism in the isp driver.
When the bus overflow happens we will halt the bus,
reset the isp and burst count and restart the stream.

Change-Id: I7a1a4e1c28e346036405db4ce9a2362109bd4f95
Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org>
msm: isp: Fix stats mask upon VFE reset.
When streamoff is issued, a HARD reset is done for VFE. This
causes the stats register to be reset to zero. It needs to be
properly initialized with the last used mask upon init.

Change-Id: I5e2fcab0358e63272f40458862f4cf6a7d3bb4bc
Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org>
msm-camera: move target checks to userspace
move all the target specific checks to userspace.

Change-Id: I67f3aec92a0cc0bba1a239958c200c54834a349a
Signed-off-by: Alok Kediya <kediya@codeaurora.org>