msm: camera: Cleanup msm generic buf queue handling

Clean-up the msm camera generic buff queue when all
client closes the handle and also provide init-deinit
ioctl for cpp to open-close the buff mngr handle.

Change-Id: Ie484174e0ffaee02e85c9c9cda8ac26103aaddd0
CRs-Fixed: 582261
Signed-off-by: Hariram Purushothaman <hpurus@codeaurora.org>
msm: camera2: cpp: Release vb2 buffer in cpp driver on error

When duplicate output is enabled, there is potential issue if
error is encountered in second output buffer. Under error condition
related to second output buffer is hit, the first output buffer is
not released properly.

Change-Id: I56f375a5783c54c450f5673818d15b393f469ef1
Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
ARM: dts: msm: Change the capless mode for 8226 qrd

msm8226-qrd.dtsi is included by many 8226 or 8926 dts,
but not all the boards have the external cap for micbias1.
For example, 8926 qrd board doesn't have the cap.
So remove the external cap for micbias1 in this dtsi
and add it into the specific board dts who uses the cap.

CRs-fixed: 572412

Change-Id: I196657fabbab46ff6ff8d36b25554da50fab9f16

Signed-off-by: Kunlei Zhang <quic_kunleiz@codeaurora.org>
Merge "ARM: dts: msm: Change the capless mode for 8226 qrd"
Merge "msm: camera2: cpp: Release vb2 buffer in cpp driver on error"
Merge "msm: camera: Cleanup msm generic buf queue handling"