Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: tegra: Add error logging in tegra210_amx driver

Log errors in the Tegra210 AMX probe and set_audio_cif paths.

Signed-off-by: Sheetal <sheetal@nvidia.com>
Link: https://patch.msgid.link/20260325101437.3059693-7-sheetal@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Sheetal and committed by
Mark Brown
d310c08d 802d0d6c

+5 -4
+5 -4
sound/soc/tegra/tegra210_amx.c
··· 163 163 audio_bits = TEGRA_ACIF_BITS_32; 164 164 break; 165 165 default: 166 + dev_err(dai->dev, "unsupported format: %d\n", 167 + params_format(params)); 166 168 return -EINVAL; 167 169 } 168 170 ··· 769 767 err = devm_snd_soc_register_component(dev, &tegra210_amx_cmpnt, 770 768 tegra210_amx_dais, 771 769 ARRAY_SIZE(tegra210_amx_dais)); 772 - if (err) { 773 - dev_err(dev, "can't register AMX component, err: %d\n", err); 774 - return err; 775 - } 770 + if (err) 771 + return dev_err_probe(dev, err, 772 + "can't register AMX component\n"); 776 773 777 774 pm_runtime_enable(dev); 778 775