linux-stable/sound/soc
Krzysztof Kozlowski 738455858a
ASoC: codecs: wsa881x: Use proper shutdown GPIO polarity
The shutdown GPIO is active low (SD_N), but this depends on actual board
layout.  Linux drivers should only care about logical state, where high
(1) means shutdown and low (0) means do not shutdown.

Invert the GPIO to match logical value while preserving backwards DTB
compatibility.  It is not possible to detect whether ACTIVE_HIGH flag in
DTB is because it is an old DTB (using incorrect flag) or it is a new
DTB with a correct hardware pin polarity description.  Therefore the
solution prioritizes backwards compatibility while relying on relevant
DTS being upstreamed.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230102114152.297305-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-16 11:16:38 +00:00
..
adi
amd ASoC: amd: acp: Enable i2s tdm support for skyrim platforms 2023-01-11 18:28:56 +00:00
apple ASoC: apple: mca: Adjust timing of component unregister 2022-09-27 13:59:59 +01:00
atmel ASoC: microchip: power saving features and cleanups 2022-12-27 12:56:08 +00:00
au1x
bcm ASoC: bcm2835-i2s: Switch to use dev_err_probe() helper 2022-09-14 15:06:00 +01:00
cirrus
codecs ASoC: codecs: wsa881x: Use proper shutdown GPIO polarity 2023-01-16 11:16:38 +00:00
dwc
fsl ASoC: fsl_sai: Use dev_err_probe 2023-01-16 11:16:34 +00:00
generic ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link() 2022-12-07 14:19:12 +00:00
hisilicon
img
intel Fixes for avs driver 2023-01-13 15:25:27 +00:00
jz4740 ASoC: jz4740-i2s: Remove .set_sysclk() 2022-10-31 13:20:14 +00:00
kirkwood ASoC: kirkwood: enable Kirkwood driver for Armada 38x platforms 2022-10-17 12:48:28 +01:00
mediatek ASoC: mediatek: mt8186-rt5682: primary_codec_init() warn: missing error code? 'ret' 2023-01-09 13:05:32 +00:00
meson ASoC: meson: axg-pdm: Fix double word in comments 2022-10-19 12:04:28 +01:00
mxs
pxa ASoC: PXA: make SND_PXA2XX_SOC_AC97 user-selectable 2023-01-12 18:37:18 +00:00
qcom ASoC: qcom: lpass-sc7280: Add maybe_unused tag for system PM ops 2022-12-05 14:05:38 +00:00
rockchip ASoC: rockchip: spdif: Add missing clk_disable_unprepare() in rk_spdif_runtime_resume() 2022-12-12 15:44:25 +00:00
samsung ASoC: soc.h: remove num_cpus/codecs 2022-09-20 12:19:30 +01:00
sh ASoC: rsnd: adg: use __clk_get_name() instead of local clk_name[] 2022-11-28 13:04:33 +00:00
sof ASoC: SOF: mediatek: Provide debugfs_add_region_item ops for core 2023-01-10 13:32:33 +00:00
spear
sprd
sti
stm ASoC: stm32: i2s: remove irqf_oneshot flag 2022-11-10 17:50:52 +00:00
sunxi ASoC: sunxi: use devm_platform_get_and_ioremap_resource() 2022-11-14 11:30:31 +00:00
tegra ASoC: tegra: Fix spelling mistake "fliter" -> "filter" 2022-11-10 17:52:46 +00:00
ti ASoC: ti: davinci-mcasp: Use DIV_ROUND_UP() instead of open-coding it 2022-10-17 12:48:23 +01:00
uniphier ASoC: uniphier: aio-core: Make some read-only arrays static const 2022-12-05 14:05:40 +00:00
ux500
xilinx
xtensa
Kconfig ASoC: apple: mca: Start new platform driver 2022-08-25 13:51:34 +01:00
Makefile ASoC: apple: mca: Start new platform driver 2022-08-25 13:51:34 +01:00
soc-ac97.c
soc-acpi.c
soc-card.c
soc-component.c Revert "ASoC: soc-component: using pm_runtime_resume_and_get instead of pm_runtime_get_sync" 2022-10-04 14:09:30 +01:00
soc-compress.c ASoC: soc.h: remove num_cpus/codecs 2022-09-20 12:19:30 +01:00
soc-core.c ASoC: Merge up fixes 2022-11-29 12:55:51 +00:00
soc-dai.c ASoC: soc-dai: Do not call snd_soc_link_be_hw_params_fixup() twice 2022-11-23 11:10:43 +00:00
soc-dapm.c ASoC: Merge up fixes 2022-11-29 12:55:51 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: soc.h: remove num_cpus/codecs 2022-09-20 12:19:30 +01:00
soc-jack.c
soc-link.c
soc-ops.c ASoC: ops: Correct bounds check for second channel on SX controls 2022-11-25 16:29:33 +00:00
soc-pcm.c ASoC: soc-pcm.c: Clear DAIs parameters after stream_active is updated 2022-12-07 20:05:16 +00:00
soc-topology-test.c
soc-topology.c ASoC: soc-core.c: setup rtd->pmdown_time at soc_new_pcm_runtime() 2022-09-19 17:52:41 +01:00
soc-utils-test.c
soc-utils.c ASoC: soc-utils: Remove __exit for snd_soc_util_exit() 2022-11-07 13:37:04 +00:00