| 2 +-
> sound/soc/atmel/tse850-pcm5142.c | 1 -
Reviewed-by: Claudiu Beznea # for at91
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
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
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
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
soun
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