08 Mar, 2020
1 commit
-
Merge Linux stable release v5.4.24 into imx_5.4.y
* tag 'v5.4.24': (3306 commits)
Linux 5.4.24
blktrace: Protect q->blk_trace with RCU
kvm: nVMX: VMWRITE checks unsupported field before read-only field
...Signed-off-by: Jason Liu
Conflicts:
arch/arm/boot/dts/imx6sll-evk.dts
arch/arm/boot/dts/imx7ulp.dtsi
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
drivers/clk/imx/clk-composite-8m.c
drivers/gpio/gpio-mxc.c
drivers/irqchip/Kconfig
drivers/mmc/host/sdhci-of-esdhc.c
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
drivers/net/can/flexcan.c
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
drivers/net/ethernet/mscc/ocelot.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
drivers/net/phy/realtek.c
drivers/pci/controller/mobiveil/pcie-mobiveil-host.c
drivers/perf/fsl_imx8_ddr_perf.c
drivers/tee/optee/shm_pool.c
drivers/usb/cdns3/gadget.c
kernel/sched/cpufreq.c
net/core/xdp.c
sound/soc/fsl/fsl_esai.c
sound/soc/fsl/fsl_sai.c
sound/soc/sof/core.c
sound/soc/sof/imx/Kconfig
sound/soc/sof/loader.c
06 Feb, 2020
1 commit
-
[ Upstream commit ce780a47c3c01e1e179d0792df6b853a913928f1 ]
Change mutex and spinlock management to avoid sleep
in atomic issue.Signed-off-by: Arnaud Pouliquen
Link: https://lore.kernel.org/r/20200113100400.30472-1-arnaud.pouliquen@st.com
Signed-off-by: Mark Brown
Signed-off-by: Sasha Levin
25 Nov, 2019
1 commit
-
This reverts commit cf9441adb1a35506d7606866c382b9d8614169b5.
02 Aug, 2019
1 commit
-
We don't need dev_err() messages when platform_get_irq() fails now that
platform_get_irq() prints an error message itself when something goes
wrong. Let's remove these prints with a simple semantic patch.//
@@
expression ret;
struct platform_device *E;
@@ret =
(
platform_get_irq(E, ...)
|
platform_get_irq_byname(E, ...)
);if ( \( ret < 0 \| ret
While we're here, remove braces on if statements that only have one
statement (manually).Cc: Liam Girdwood
Cc: Mark Brown
Cc: Jaroslav Kysela
Cc: Takashi Iwai
Cc: alsa-devel@alsa-project.org
Cc: Greg Kroah-Hartman
Signed-off-by: Stephen Boyd
Link: https://lore.kernel.org/r/20190730181557.90391-50-swboyd@chromium.org
Signed-off-by: Mark Brown
31 May, 2019
1 commit
-
Based on 1 normalized pattern(s):
license terms gnu general public license gpl version 2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 161 file(s).
Signed-off-by: Thomas Gleixner
Reviewed-by: Allison Randal
Reviewed-by: Alexios Zavras
Reviewed-by: Steve Winslow
Reviewed-by: Richard Fontana
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190528170027.447718015@linutronix.de
Signed-off-by: Greg Kroah-Hartman
21 May, 2019
1 commit
-
Add SPDX license identifiers to all Make/Kconfig files which:
- Have no license information of any form
These files fall under the project license, GPL v2 only. The resulting SPDX
license identifier is:GPL-2.0-only
Signed-off-by: Thomas Gleixner
Signed-off-by: Greg Kroah-Hartman
04 Jul, 2018
1 commit
-
The XRUN trigger from the driver should be done via
snd_pcm_stop_xrun(). It fixes the missing stream locking as a gratis,
too.Signed-off-by: Takashi Iwai
Signed-off-by: Mark Brown
30 Apr, 2017
1 commit
-
We intended to return here. The current code has a static checker
warning because we set "ret" but don't use it.Fixes: 76c2145ded6b ("ASoC: sti: Add CPU DAI driver for playback")
Signed-off-by: Dan Carpenter
Acked-by: Arnaud POULIQUEN
Signed-off-by: Mark Brown
07 Apr, 2017
1 commit
-
With RTlinux a race condition has been found that leads to NULL ptr crash:
- On CPU 0: uni_player_irq_handler is called to treat XRUN
"(player->state == UNIPERIF_STATE_STOPPED)" is FALSE so status is checked,
dev_err(player->dev, "FIFO underflow error detected") is printed
and then snd_pcm_stream_lock should be called to lock stream for stopping.
- On CPU 1: application stop and close the stream.
Issue is that the stop and shutdown functions are executed while
"FIFO underflow error detected" is printed.
So when CPU 0 calls snd_pcm_stream_lock, player->substream is already null.Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mark Brown
25 Mar, 2017
1 commit
-
reader->substream is used in IRQ handler for error case but is never set.
Set value to pcm substream on DAI startup and clean it on dai shutdown.Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mark Brown
12 Dec, 2016
1 commit
-
…pic/sti-codec', 'asoc/topic/sunxi' and 'asoc/topic/tegra' into asoc-next
26 Oct, 2016
4 commits
-
If 'IEC958 Playback Default' control is updated during playback,
Channel status needs to be set according to the runtime structure.Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mark Brown -
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mark Brown -
Reset is common to player and reader, migrate function in sti_uniperif.c
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mark Brown -
Add missing error messages.
Propagate error of uni_reader_init and uni_reader_init.
Add return at end of dev_err strings.Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mark Brown
19 Sep, 2016
1 commit
-
Fix the missing clk_disable_unprepare() before return
from uni_player_start() in the error handling case.Signed-off-by: Wei Yongjun
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown
15 Sep, 2016
1 commit
-
Update to suppress some DT nodes that can be handled in driver
using compatible string.
"dai-name", "st,version"and "st,mode" are suppressed
"st,tdm-mode" is added to handle TDM mode.Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mark Brown
13 Jun, 2016
1 commit
-
In case of error, the function syscon_regmap_lookup_by_phandle() returns
ERR_PTR() and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().Signed-off-by: Wei Yongjun
Signed-off-by: Mark Brown
18 Apr, 2016
1 commit
-
By default, player#0 is connected to I2S/TDM TX bus.
This patch connects player#1 to I2S/TDM TX bus.Signed-off-by: Moise Gergaud
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown
12 Apr, 2016
7 commits
-
Here are the changes to enable reader tdm mode:
- When TDM_ENABLE is set to 1, the i2s format should be automatically
configured. Unfortunately this is not the case (HW bug). Then, we shall
force DATA_SIZE setting.
- Compute the transfer size for tdm mode: transfer size = user frame size
- Manage tdm slots configuration given in DT.
- Refine the hw param (channels & format) according to tdm slot config.Signed-off-by: Moise Gergaud
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown -
here are the changes to enable player tdm mode:
- When TDM_ENABLE is set to 1, the i2s format should be automatically
configured. Unfortunately this is not the case (HW bug). Then, we shall
force DATA_SIZE setting.
- Compute the transfer size for tdm mode: transfer size = user frame size
- Manage tdm slots configuration given in DT.
- Don't use mclk-fs when unip in tdm mode; use tdm slot config to compute
frame size and to set mclk rate.
- Refine the hw param (channels & format) according to tdm slot config.Signed-off-by: Moise Gergaud
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown -
Signed-off-by: Moise Gergaud
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown -
- sti_uniperiph_set_tdm_slot: store tdm slot config in unip context
- sti_uniperiph_get_tdm_word_pos: configure unip tdm slots pos regsSigned-off-by: Moise Gergaud
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown -
Signed-off-by: Moise Gergaud
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown -
Signed-off-by: Moise Gergaud
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown -
Signed-off-by: Moise Gergaud
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown
01 Apr, 2016
1 commit
-
Signed-off-by: Moise Gergaud
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown
23 Dec, 2015
1 commit
-
…c/ssm2518' and 'asoc/topic/sti' into asoc-next
25 Nov, 2015
1 commit
-
Previously, the iec958 channels status sampling freq was set only if not
already set. It means that it is not updated for next PCM sessions.
With this patch, we ensure the iec958 channels status sampling freq is set
to the runtime rate for each PCM session.Signed-off-by: Moise Gergaud
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown
20 Nov, 2015
3 commits
-
Set substream player private data.
substream player private data is used in uni_player_irq_handler to lock,
stop & unlock the stream when interrupt indicates underflow/overflow.
If not set, then segmentation fault occurs.Signed-off-by: Moise Gergaud
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown -
"st," prefix has been added for ST proprietary DT properties.
Signed-off-by: Moise Gergaud
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown -
Signed-off-by: Moise Gergaud
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown
10 Sep, 2015
1 commit
-
Add check on of_property_read to return error when
DT required property is not defined.Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mark Brown
30 Aug, 2015
1 commit
-
Use devm_snd_soc_register_component to ensure component is unregistered
when unload the module.Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
07 Aug, 2015
1 commit
-
Add control to configure IEC60958 settings.
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mark Brown
29 Jul, 2015
2 commits
-
uni_player_dai_ops is not used outside of this file so it should be static.
Fixes the following sparse warning:sound/soc/sti/uniperif_player.c:959:30: warning: symbol
'uni_player_dai_ops' was not declared. Should it be static?Signed-off-by: Lars-Peter Clausen
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown -
base referes to a iomem region, so it should have the __iomem annotation.
Fixes the following warnings from sparse:sound/soc/sti/sti_uniperif.c:169:19: warning: incorrect type in
assignment (different address spaces)
sound/soc/sti/sti_uniperif.c:169:19: expected void *base
sound/soc/sti/sti_uniperif.c:169:19: got void [noderef] *
sound/soc/sti/uniperif_player.c:104:18: warning: incorrect type in
argument 1 (different address spaces)
sound/soc/sti/uniperif_player.c:104:18: expected void const volatile
[noderef] *addr
sound/soc/sti/uniperif_player.c:104:18: got void *
[...]Signed-off-by: Lars-Peter Clausen
Acked-by: Arnaud Pouliquen
Signed-off-by: Mark Brown
21 Jul, 2015
2 commits
-
There is a stray '!' which means the condition is never true.
Fixes: f3bd847eb0a7 ('ASoC: sti: Add uniperipheral dai driver')
Signed-off-by: Dan Carpenter
Signed-off-by: Mark Brown -
Reported-by: Stephen Rothwell
Signed-off-by: Mark Brown
17 Jul, 2015
1 commit
-
Signed-off-by: Fengguang Wu
Signed-off-by: Mark Brown