ASoC: wcd9320: Avoid NULL pointer access

It is possible that taiko private data will
be accessed without creating memory when
sound card is not registered. Avoid kernel
crash by checking it for NULL and return without
access.

Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
ASoC: wcd9xxx: check NULL pointer access for wcd9xxx

It may be possible that device up gets called
before slim probe and this leads to NULL pointer
access. Avoid the NULL pointer access before
processing device up.

Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
ASoC: msm: qdsp6v2: Update session id size to 32 bit

Voice driver uses 32 bit vsid as session id. Update
session id size to 32 bit.

Signed-off-by: Pradnya Chaphekar <pradnyac@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
ASoC: msm: qdsp6v2: Add missing set to compress offload driver

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
mfd: wcd9xxx_irq: Fix the condition to lock/unlock sleep

When codec raises interrupt and the system is suspended, the driver
waits for parent to resume. Fix the condition in wait_for_event to
prevent checking against stale value of suspend state during wait.

Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>