summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2022-09-29 16:37:54 +0200
committerMark Brown <broonie@kernel.org>2022-09-29 17:22:41 +0100
commitc8d18e44022518ab026338ae86bf14cdf2e71887 (patch)
treed1b5005fdee52becdfea1511fddfb7d8c3f7237b /sound/pci
parent65c94e4d15830406a31a55085887e97bacd25434 (diff)
ASoC: core: clarify the driver name initialization
The driver field in the struct snd_ctl_card_info is a valid user space identifier. Actually, many ASoC drivers do not care and let to initialize this field using a standard wrapping method. Unfortunately, in this way, this field becomes unusable and unreadable for the drivers with longer card names. Also, there is a possibility to have clashes (driver field has only limit of 15 characters). This change will print an error when the wrapping is used. The developers of the affected drivers should fix the problem. Signed-off-by: Jaroslav Kysela <perex@perex.cz> Reviewed-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions