diff options
author | Jaroslav Kysela <perex@perex.cz> | 2022-09-29 16:37:54 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-29 17:22:41 +0100 |
commit | c8d18e44022518ab026338ae86bf14cdf2e71887 (patch) | |
tree | d1b5005fdee52becdfea1511fddfb7d8c3f7237b /sound/pci | |
parent | 65c94e4d15830406a31a55085887e97bacd25434 (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