[PATCH] ASoC: core: remove artificial component and DAI name constraint

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Fri Aug 28 13:38:19 CEST 2020


On 28/08/2020 13:53, Mark Brown wrote:
> On Thu, Aug 27, 2020 at 11:51:00PM +0300, Dmitry Baryshkov wrote:
> 
>> Current fmt_single_name code limits maximum name of a DAI or component
>> to 32 bytes. On some systems corresponding device names might be longer
>> than that (e.g.
> 
> Are you sure the name doesn't get exposed to userspace through a field
> that's 32 bytes long?

Good question. From the first glance the only place where the names are 
exposed is the debugfs.


-- 
With best wishes
Dmitry


More information about the Alsa-devel mailing list