ASoC: wcd9306: fix the NULL pointer dereference in the tapan codec

During the close of the AFE port the AIF1 PB widget will be closed
which access the core variable.
If the core is not initialized yet it will result in the kernel panic.
Fix by adding the check for the core structure to be initialized.

CRs-Fixed: 635790
Change-Id: Ic057e2eb75b25dbc55aa06cbce2b49aca0b1b25f
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
ASoC: wcd9xxx: switch to VDDIO while recording is on TX1

On Tapan, ADC2/3 are same and there is coupling between ADC1
and ADC2 due to this there is polling noise in the recorded
audio when IN1/IN3 path is used for the recording with
headset inserted.Switch to VDDIO to avoid polling noise
to be captured in the recorded audio

CRs-Fixed: 696178
Change-Id: I34e96f31ce9460b77eae7a82803015995cce3641
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
msm-camera: Avoid adding top up to calulated ab/ib for single stream.

Avoiding topup for ab/ib for single stream

Change-Id: Ie6fb6716ea1b30604d801936bea3da5a96d8a6fc
Signed-off-by: Chandan Gera <cgera@codeaurora.org>
Merge "ASoC: wcd9xxx: switch to VDDIO while recording is on TX1"
Merge "ASoC: wcd9306: fix the NULL pointer dereference in the tapan codec"
Merge "msm-camera: Avoid adding top up to calulated ab/ib for single stream."
msm: camera: Set optimal value of MIN_AB and MIN_IB

Increasing MSM_ISP_MIN_AB and MSM_ISP_MIN_IB increases power
regression issue. Change to optimal value.

Change-Id: I1f555ac20f921db3822ed2fd917f489cfe24c514
Signed-off-by: Mohit Setia <msetia@codeaurora.org>
mdss: mdp3: swap colors when performing csc from yuv2rgb

When ppp hw is performing csc from yuv to rgb there is a color
swap. In order to account for this we need to swap the unpack
and packing order.

Change-Id: I55df9a87300f3ce2c9bf5352725f3ce1d2b1b8a4
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
Merge "msm: camera: Set optimal value of MIN_AB and MIN_IB"
Merge "mdss: mdp3: swap colors when performing csc from yuv2rgb"