kernel_optimize_test/sound
Sameer Pujar d5f8088cfc ASoC: simple-card-utils: Fix device module clock
[ Upstream commit 1e30f642cf2939bbdac82ea0dd3071232670b5ab ]

If "clocks = <&xxx>" is specified from the CPU or Codec component
device node, the clock is not getting enabled. Thus audio playback
or capture fails.

Fix this by populating "simple_dai->clk" field when clocks property
is specified from device node as well. Also tidy up by re-organising
conditional statements of parsing logic.

Fixes: bb6fc620c2 ("ASoC: simple-card-utils: add asoc_simple_card_parse_clk()")
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/1612939421-19900-2-git-send-email-spujar@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:37:51 +01:00
..
ac97
aoa
arm
atmel
core ALSA: pcm: Don't call sync_stop if it hasn't been stopped 2021-03-04 11:37:19 +01:00
drivers
firewire ALSA: firewire-tascam: Fix integer overflow in midi_port_work() 2021-01-19 18:27:33 +01:00
hda ALSA: hda: intel-dsp-config: add PCI id for TGL-H 2021-02-13 13:55:06 +01:00
i2c
isa
mips
oss
parisc
pci ALSA: hda: Add Cometlake-R PCI ID 2021-02-07 15:37:15 +01:00
pcmcia
ppc
sh
soc ASoC: simple-card-utils: Fix device module clock 2021-03-04 11:37:51 +01:00
sparc ALSA: sparc: dbri: fix repeated word 'the' 2020-10-17 09:58:35 +02:00
spi
synth
usb ALSA: usb-audio: Fix PCM buffer allocation in non-vmalloc mode 2021-03-04 11:37:18 +01:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c