No description
Find a file
Pierre-Louis Bossart 3bcced019e
ASoC: codecs: rt700-sdw: simplify set_stream
Using a dynamic allocation to store a single pointer is not very
efficient/useful.

Worse, the memory is released in the SoundWire stream.c file, but
still accessed in the DAI shutdown, leading to kmemleak reports.

And last the API requires the previous stream information to be
cleared when the argument is NULL.

Simplify the code to address all 3 problems.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20230324014408.1677505-8-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-29 15:03:04 +01:00
arch Linux 6.3-rc2 2023-03-13 13:20:33 +00:00
block block, bfq: fix uaf for 'stable_merge_bfqq' 2023-03-08 07:34:50 -07:00
certs
crypto
Documentation ASoC: dt-bindings: qcom,lpass-wsa-macro: Add SM8550 WSA macro 2023-03-29 12:31:45 +01:00
drivers firmware: cs_dsp: Support DSPs that don't require firmware download 2023-03-21 12:13:19 +00:00
fs Fixes for 6.3-rc1: 2023-03-12 09:47:08 -07:00
include ASoC: soc-core.c: add snd_soc_add_pcm_runtimes() 2023-03-28 01:26:03 +01:00
init
io_uring io_uring: silence variable ‘prev’ set but not used warning 2023-03-09 10:10:58 -07:00
ipc
kernel kernel.fork.v6.3-rc2 2023-03-12 09:04:28 -07:00
lib
LICENSES
mm
net wifi: cfg80211: Partial revert "wifi: cfg80211: Fix use after free for wext" 2023-03-12 16:21:59 -07:00
rust
samples
scripts
security
sound ASoC: codecs: rt700-sdw: simplify set_stream 2023-03-29 15:03:04 +01:00
tools kernel.fork.v6.3-rc2 2023-03-12 09:04:28 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap drm fixes for 6.3-rc2 2023-03-10 08:57:46 -08:00
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS ASoC: cs35l56: Add driver for Cirrus Logic CS35L56 2023-03-21 12:13:24 +00:00
Makefile Linux 6.3-rc2 2023-03-12 16:36:44 -07:00
README

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.