Re: [PATCH v2 1/5] ASoC: Explicitly include correct DT includes

2023-10-04 Thread claudiu beznea
| 2 +- > sound/soc/atmel/tse850-pcm5142.c | 1 - Reviewed-by: Claudiu Beznea # for at91

[PATCH] ASoC: imx-audmix: check return value of devm_kasprintf()

2023-06-14 Thread Claudiu Beznea
devm_kasprintf() returns a pointer to dynamically allocated memory. Pointer could be NULL in case allocation fails. Check pointer validity. Identified with coccinelle (kmerr.cocci script). Fixes: b86ef5367761 ("ASoC: fsl: Add Audio Mixer machine driver") Signed-off-by: Claudiu Bezne

[PATCH v2 2/2] ASoC: use pm.h instead of runtime_pm.h

2023-05-17 Thread Claudiu Beznea
Do not include pm_runtime.h header in files where runtime PM support is not implemented. Use pm.h instead as suspend to RAM specific implementation is available. Signed-off-by: Claudiu Beznea --- sound/soc/codecs/max98373-i2c.c | 2 +- sound/soc/qcom/lpass-sc7180.c | 2 +- sound/soc/qcom

[PATCH v2 1/2] ASoC: do not include pm_runtime.h if not used

2023-05-17 Thread Claudiu Beznea
Do not include pm_runtime.h header in files where APIs exported by pm_runtime.h are not used. Signed-off-by: Claudiu Beznea Acked-by: Jarkko Nikula # for omap-mcbsp-st.c --- sound/hda/hdac_regmap.c | 1 - sound/pci/hda/hda_bind.c

[PATCH v2 0/2] ASoC: do not include runtime_pm.h if not needed

2023-05-17 Thread Claudiu Beznea
at least once. Thank you, Claudiu Beznea Changes in v2: - removed cs35l45 handling - changed a bit commit description - added patch 2/2 - collected Jarkko Nikula's tag Claudiu Beznea (2): ASoC: do not include pm_runtime.h if not used ASoC: use pm.h instead of runtime_pm.h sound/hda

[PATCH] ASoC: do not include pm_runtime.h if not used

2023-03-07 Thread Claudiu Beznea
Do not include pm_runtime.h header in files where runtime PM support is not implemented. Signed-off-by: Claudiu Beznea --- sound/hda/hdac_regmap.c | 1 - sound/pci/hda/hda_bind.c | 1 - sound/soc/amd/acp/acp-pci.c