ASoC: qdsp6: q6apm-dai: unprepare stream if its already prepared
Srinivas Kandagatla authored
commit 58136d93 upstream.

prepare callback can be called multiple times, so unprepare the stream
if its already prepared.

Without this DSP is not happy to setting the params on a already
prepared graph.

Fixes: 9b4fe0f1

 ("ASoC: qdsp6: audioreach: add q6apm-dai support")
Reported-by: default avatarSrinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220610144818.511797-1-srinivas.kandagatla@linaro.org

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
8aae1c86
Name Last commit Last update
Documentation mm/memory-failure: disable unpoison once hw error happens
LICENSES LICENSES/LGPL-2.1: Add LGPL-2.1-or-later as valid identifiers
arch xen/arm: Fix race in RB-tree based P2M accounting
block block: pop cached rq before potentially blocking rq_qos_throttle()
certs certs/blacklist_hashes.c: fix const confusion in certs blacklist
crypto crypto: memneq - move into lib/
drivers can: rcar_canfd: Fix data transmission failed on R-Car V3U
fs io_uring: fix provided buffer import
include drm/fourcc: fix integer type usage in uapi header
init gcc-12: disable '-Warray-bounds' universally for now
ipc ipc/mqueue: use get_tree_nodev() in mqueue_get_tree()
kernel bpf: Fix insufficient bounds propagation from adjust_scalar_min_max_vals
lib lib/sbitmap: Fix invalid loop in __sbitmap_queue_get_batch()
mm mm: lru_cache_disable: use synchronize_rcu_expedited
net netfilter: nf_tables: stricter validation of element data
samples samples/landlock: Format with clang-format
scripts modpost: fix section mismatch check for exported init/exit sections
security selinux: free contexts previously transferred in selinux_add_opt()
sound ASoC: qdsp6: q6apm-dai: unprepare stream if its already prepared
tools selftests/net: fix section name when using xdp_dummy.o
usr Merge tag 'kbuild-v5.18-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
virt KVM: Free new dirty bitmap if creating a new memslot fails
.clang-format genirq/msi: Make interrupt allocation less convoluted
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.gitattributes .gitattributes: use 'dts' diff driver for dts files
.gitignore .gitignore: ignore only top-level modules.builtin
.mailmap Merge tag 'mm-hotfixes-stable-2022-05-11' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
COPYING COPYING: state that all contributions really are covered by this file
CREDITS MAINTAINERS: replace a Microchip AT91 maintainer
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y
Kconfig kbuild: ensure full rebuild when the compiler is updated
MAINTAINERS MAINTAINERS: Add new IOMMU development mailing list
Makefile Linux 5.18.10
README Drop all 00-INDEX files from Documentation/
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.