Go to file
Zhang Qilong 26a19bbe60 spi: stm32: fix reference leak in stm32_spi_resume
[ Upstream commit 900ccdcb79bb61471df1566a70b2b39687a628d5 ]

pm_runtime_get_sync will increment pm usage counter even it
failed. Forgetting to pm_runtime_put_noidle will result in
reference leak in stm32_spi_resume, so we should fix it.

Fixes: db96bf976a ("spi: stm32: fixes suspend/resume management")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Reviewed-by: Alain Volmat <alain.volmat@st.com>
Link: https://lore.kernel.org/r/20201106015217.140476-1-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:03 +01:00
arch crypto: arm/aes-neonbs - fix usage of cbc(aes) fallback 2020-12-30 11:53:02 +01:00
block
certs
crypto crypto: af_alg - avoid undefined behavior accessing salg_name 2020-12-26 16:02:45 +01:00
Documentation USB: UAS: introduce a quirk to set no_write_same 2020-12-21 13:30:08 +01:00
drivers spi: stm32: fix reference leak in stm32_spi_resume 2020-12-30 11:53:03 +01:00
fs f2fs: call f2fs_get_meta_page_retry for nat page 2020-12-30 11:53:01 +01:00
include crypto: af_alg - avoid undefined behavior accessing salg_name 2020-12-26 16:02:45 +01:00
init initramfs: fix clang build failure 2020-12-11 14:02:14 -08:00
ipc
kernel sched: Reenable interrupts in do_sched_yield() 2020-12-30 11:52:59 +01:00
lib selftest/fpu: avoid clang warning 2020-12-11 14:02:14 -08:00
LICENSES
mm mm/hugetlb: clear compound_nr before freeing gigantic pages 2020-12-11 14:02:14 -08:00
net nl80211/cfg80211: fix potential infinite loop 2020-12-30 11:53:03 +01:00
samples
scripts
security selinux: fix inode_doinit_with_dentry() LABEL_INVALID error handling 2020-12-30 11:53:03 +01:00
sound ASoC: pcm: DRAIN support reactivation 2020-12-30 11:53:02 +01:00
tools perf test: Use generic event for expand_libpfm_events() 2020-12-30 11:53:01 +01:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 5.10.3 2020-12-26 16:02:46 +01: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.