USB: otg: undo HTC's USB_OTG_HOST ifdef

Change-Id: Ie0862758d42cdcafaa66dffacdf4c22f767e510c
msm: audio: qdsp6v2: Fix noise issue while SSR

- When SSR is done, we hear an extra noise sound.
- During SSR, Q6 is stopped and AUDIOIF will send the
left over samples in DMA buffers continuously to codec
resulting in noise.
- Disable the active SND devices when SSR is initiated.
This will avoid any noise happening while SSR in progress.

CRs-Fixed: 333915
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
(cherry picked from commit 692c6543452fce8c2104b81cb03fe136e9b1a047)

Change-Id: Id4f63a2ac0f9a8150af23b8c3aa0d5c5935fce2a
Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>

Conflicts:
	arch/arm/mach-msm/qdsp6v2/audio_dev_ctl.c
	arch/arm/mach-msm/qdsp6v2/audio_lpa.c
	arch/arm/mach-msm/qdsp6v2/pcm_in.c
	arch/arm/mach-msm/qdsp6v2/pcm_out.c
ASoC: msm: Reset pcm irq position in WRITE_DONE event

Pcm irq position is incremented by one extra period size if
WRITE_DONE event is received during paused state as elapsed
is not called and as a result playback gets muted sometimes
Fix this mute issue by resetting the pcm irq position in
WRITE_DONE event instead of pointer operation

CRs-Fixed: 344436
(cherry picked from commit b52f007fe0be885e61ee37ab262b43b51c37a36f)

Change-Id: I7a0d2bc9d90ecb695651195eb4fe3b728caff402
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
ASoc: msm: Improve error checking in code

Improve code by adding more error checking,
fixing case statments and removing unnecessary
logic.

Change-Id: Ic4d07f5dd9a7079248d8320fab95ee6f4d150b88
CRs-fixed: 344634
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>

Conflicts:
	sound/soc/msm/qdsp6/q6adm.c

Conflicts:
	sound/soc/msm/qdsp6/q6adm.c